Skip to main content

mcp__prompt__result__key__content

Function mcp__prompt__result__key__content 

Source
pub fn mcp__prompt__result__key__content<T: Display>(value: T) -> String
Expand description

Instantiates the <key> placeholder in the attribute MCP__PROMPT__RESULT__KEY__CONTENT (mcp.prompt.result.<key>.content) with a concrete value.

ยงExample

use relay_conventions::interpolate::mcp__prompt__result__key__content;
assert_eq!(mcp__prompt__result__key__content("foobar"), "mcp.prompt.result.foobar.content");