[BUG]API Error during init, input_examples in the tool definitions
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When trying to call /init method getting the following error
/model to try Opus 4.5
/init is analyzing your codebase…
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","mess
age":"tools.4.custom.input_examples: Extra inputs are not
permitted"},"request_id":"req_vrtx_011CW2b38CkCrnDgpLPqADgu"}
What Should Happen?
/model to try Opus 4.5
It should create claude.md file in the repository
Error Messages/Logs
Steps to Reproduce
claude
/model to try Opus 4.5
/init is analyzing your codebase…
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","mess
age":"tools.4.custom.input_examples: Extra inputs are not
permitted"},"request_id":"req_vrtx_011CW2b38CkCrnDgpLPqADgu"}
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
% claude --version 2.0.67 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗