Comment Comment by cle I just tried this in Claude Code. I made an MCP server whose tool output is declared as an integer but it returns a string at runtime.Claude Code validated the response against the schema and did not pass the response to the LLM. test - test_tool (MCP)(input: "foo") ⎿ Error: Output validation error: 'bar' is not of type 'integer' parent cle 1 year ago
Claude Code validated the response against the schema and did not pass the response to the LLM.