Infer the structured output type from a definition's outputSchema — any JSON root, not just objects (2026-07-28 protocol); never when the definition declares none (any CallToolResult is then accepted — see ToolResult).
outputSchema
never
Infer the structured output type from a definition's
outputSchema— any JSON root, not just objects (2026-07-28 protocol);neverwhen the definition declares none (any CallToolResult is then accepted — see ToolResult).