Skip to main content

vercel__ai__tool_call__context__key

Function vercel__ai__tool_call__context__key 

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

Instantiates the <key> placeholder in the attribute VERCEL__AI__TOOL_CALL__CONTEXT__KEY (vercel.ai.tool_call.context.<key>) with a concrete value.

ยงExample

use relay_conventions::interpolate::vercel__ai__tool_call__context__key;
assert_eq!(vercel__ai__tool_call__context__key("foobar"), "vercel.ai.tool_call.context.foobar");