Skip to main content

mcp__tool__result__key__resource_uri

Function mcp__tool__result__key__resource_uri 

Source
pub fn mcp__tool__result__key__resource_uri<T: Display>(value: T) -> String
๐Ÿ‘ŽDeprecated
Expand description

Instantiates the <key> placeholder in the attribute MCP__TOOL__RESULT__KEY__RESOURCE_URI (mcp.tool.result.<key>.resource_uri) with a concrete value.

ยงExample

use relay_conventions::interpolate::mcp__tool__result__key__resource_uri;
assert_eq!(mcp__tool__result__key__resource_uri("foobar"), "mcp.tool.result.foobar.resource_uri");