Skip to main content

apply_tool_annotations

Function apply_tool_annotations 

Source
pub fn apply_tool_annotations(tools: Vec<Tool>) -> Vec<Tool>
Expand description

Apply MCP ToolAnnotations (readOnlyHint, destructiveHint) to a set of tool definitions. Called by the registry before serving tools/list.