[Bug] Anthropic API Error: Status 400 for Use Tool
Status Open
Reported on v2.1.232
Maintainer reply None cached
Activity 0 comments · opened Aug 14, 2026
Bug Description
error status 400 fot use tool
Environment Info
- Platform: darwin
- Terminal: iTerm.app
- Version: 2.1.232
- Feedback ID: 0a5623a4-408d-47fb-afb1-0f3fd41d124a
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.17.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12 (https://json-schema.org/draft/2020-12). Learn more about tool use at https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview.\"},\"request_id\":\"req_011Ce2ZWqbB1mTx8WWqB4D8k\"}\n at generate (/$bunfs/root/cli:39:39014)\n at makeRequest (/$bunfs/root/cli:90:8063)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-14T11:27:56.663Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.17.custom.input_schema: JSON schema is invalid. It must match JSON Schema draft 2020-12 (https://json-schema.org/draft/2020-12). Learn more about tool use at https://platform.claude.com/docs/en/agents-and-tools/tool-use/overview.\"},\"request_id\":\"req_011Ce2ZX8d7Et2Er1ZECfT5j\"}\n at generate (/$bunfs/root/cli:39:39014)\n at makeRequest (/$bunfs/root/cli:90:8063)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-08-14T11:28:00.691Z"}]