[Bug] Anthropic API Error: Invalid JSON Schema for Tool Input
Resolved 💬 3 comments Opened Oct 15, 2025 by Taas-ai Closed Jan 8, 2026
Bug Description
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.16.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://docs.claude.com/en/docs/tool-use."},"request_id":"req_011CU9aXw4YrscSVy1zvNzyU"}
Environment Info
- Platform: darwin
- Terminal: cursor
- Version: 1.0.93
- Feedback ID: 3a8aa901-8e78-4bed-86e8-a03f403986ce
Errors
[{"error":"Error: Could not resolve authentication method. Expected either apiKey or authToken to be set. Or for one of the \"X-Api-Key\" or \"Authorization\" headers to be explicitly omitted\n at new pW (unknown:1:28)\n at <anonymous> (/$bunfs/root/claude:773:6460)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-10-15T20:02:59.182Z"},{"error":"AbortError: The operation was aborted.\n at unknown\n at abortChildProcess (node:child_process:859:42)\n at onAbortListener2 (node:child_process:35:24)\n at abort (unknown)","timestamp":"2025-10-15T20:03:01.841Z"}]This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗