Invalid Tool Input Schema: Unsupported JSON Schema Validation Construct
Resolved 💬 5 comments Opened Jul 18, 2025 by dustycyanide Closed Aug 20, 2025
Bug Description
getting this error when sending a request: API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.45.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top
level"}}
Environment Info
- Platform: darwin
- Terminal: vscode
- Version: 1.0.55
- Feedback ID: e2ee5a1d-62e8-4e18-bfed-28366f6726ea
Errors
[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n at genericNodeError (node:internal/errors:983:15)\n at wrappedFn (node:internal/errors:537:14)\n at checkExecSyncError (node:child_process:882:11)\n at execSync (node:child_process:954:15)\n at q5 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:727:4693)\n at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:41282\n at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:542:14406)\n at PF (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:39067)\n at $X (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:37933)\n at RB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:640:43902)","timestamp":"2025-07-18T16:53:52.750Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.45.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level\"}}\n at B6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1179:6425)\n at p$.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1196:2101)\n at p$.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1196:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async P9B.F91.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:14125)\n at async F91 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2140:1696)\n at async P9B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:13976)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:9065\n at async hIA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:1626)\n at async qp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:9035)","timestamp":"2025-07-18T16:53:58.474Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.45.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level\"}}\n at B6.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1179:6425)\n at p$.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1196:2101)\n at p$.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1196:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async P9B.F91.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:14125)\n at async F91 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2140:1696)\n at async P9B (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:13976)\n at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:9065\n at async hIA (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:1626)\n at async qp (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:2598:9035)","timestamp":"2025-07-18T16:54:54.378Z"}]This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗