[BUG] input_schema does not support oneOf, allOf, or anyOf at the top level
Resolved 💬 11 comments Opened Jul 31, 2025 by jason-riddle Closed Feb 12, 2026
Bug Description
I'm getting this 400 error message. It happens immediately after sending the first prompt.
$ claude
╭───────────────────────────────────────────────────╮
│ ✻ Welcome to Claude Code! │
│ │
│ /help for help, /status for your current setup │
│ │
│ cwd: /Users/jason/dotfiles │
╰───────────────────────────────────────────────────╯
> commit changes
API Error: 400 {"type":"error","error":{"type":"invalid_request_error",
"message":"tools.36.custom.input_schema: input_schema does not support
oneOf, allOf, or anyOf at the top level"}}
Environment Info
- Platform: darwin
- Terminal: Apple_Terminal
- Version: 1.0.65
- Feedback ID:
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:892:11)\n at execSync (node:child_process:964:15)\n at t7 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:867:5184)\n at file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:48379\n at Q (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n at cJ (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:45817)\n at jz (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:44684)\n at W9 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:776:51005)","timestamp":"2025-07-31T23:39:03.955Z"},{"error":"SyntaxError: Unexpected token '/', \"/usr/local\"... is not valid JSON\n at JSON.parse (<anonymous>)\n at file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:771:9932\n at Q (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:674:14418)\n at xR0.<anonymous> (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3065:120)\n at xR0.B [as _actionHandler] (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:664:528)\n at file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:668:3127\n at xR0._chainOrCall (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:668:1694)\n at xR0._parseCommand (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:668:3103)\n at xR0.parseAsync (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:665:4195)\n at uw8 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:3088:1224)","timestamp":"2025-07-31T23:39:03.998Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.36.custom.input_schema: input_schema does not support oneOf, allOf, or anyOf at the top level\"}}\n at t4.generate (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1319:12486)\n at TP.makeStatusError (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1336:2101)\n at TP.makeRequest (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1336:5315)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async KfB.qF1.showErrors (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2981:14401)\n at async qF1 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2463:5642)\n at async KfB (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2981:14252)\n at async file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2981:9308\n at async sM0 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2981:1689)\n at async O11 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2981:9278)","timestamp":"2025-07-31T23:39:12.754Z"},{"error":"AxiosError: Request failed with status code 403\n at AN (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:676:1077)\n at Unzip.i1 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:677:9955)\n at Unzip.emit (node:events:519:35)\n at Unzip.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1701:12)\n at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n at VB1.request (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:679:2088)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n at async X88 (file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1627:470)\n at async Promise.all (index 0)\n at async file:///Users/jason/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1613:6358","timestamp":"2025-07-31T23:39:42.940Z"}]This issue has 11 comments on GitHub. Read the full discussion on GitHub ↗