Invalid Tool Input Schema: Unsupported JSON Schema Validation Construct
Resolved 💬 3 comments Opened Aug 15, 2025 by stc-dayman Closed Aug 19, 2025
Bug Description
I get the following error even after restarting my pc and starting a new conversation session.
API Error: 400 {"type":"error","error":{"type":"invalid_reque
st_error","message":"tools.61.custom.input_schema:
input_schema does not support oneOf, allOf, or anyOf at the
top level"}}
Environment Info
- Platform: win32
- Terminal: vscode
- Version: 1.0.81
- Feedback ID: b6dae9f7-2bdc-4fd6-8def-f46db5db667b
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.61.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level\"}}\n at G6.generate (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:936:2414)\n at rP.makeStatusError (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:953:2101)\n at rP.makeRequest (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:953:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async iG1.showErrors (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1855:24691)\n at async iG1 (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1855:13705)\n at async cPB (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1855:24542)\n at async file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1855:19524\n at async vN0 (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1855:5164)\n at async Y01 (file:///C:/Users/bnich/AppData/Roaming/npm/node_modules/@anthropic-ai/claude-code/cli.js:1855:19494)","timestamp":"2025-08-15T23:06:26.685Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗