pub fn apply_tool_annotations(tools: Vec<Tool>) -> Vec<Tool>
Apply MCP ToolAnnotations (readOnlyHint, destructiveHint) to a set of tool definitions. Called by the registry before serving tools/list.
ToolAnnotations
tools/list