[BUG] API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.21.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level"}}
Resolved 💬 3 comments Opened Aug 17, 2025 by bobmatnyc Closed Aug 17, 2025
Environment
- Platform (select one):
- [x] Anthropic API
- [ ] AWS Bedrock
- [ ] Google Vertex AI
- [ ] Other: <!-- specify -->
- Claude CLI version: <!-- output of
claude --version--> - Operating System: <!-- e.g. macOS 14.3, Windows 11, Ubuntu 22.04 -->
- Terminal: <!-- e.g. iTerm2, Terminal App -->
Bug Description
Any requests results in: " ⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.21.custom.input_schema:
input_schema does not support oneOf, allOf, or anyOf at the top level"}}
"
Steps to Reproduce
- Log into Claude Code
- Send any request
Expected Behavior
Not this
Actual Behavior
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.21.custom.input_schema:
input_schema does not support oneOf, allOf, or anyOf at the top level"}}
Additional Context
Claude Code v1.0.83
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗