[BUG] API Error: invalid_request_error: tools.71.custom.name

Resolved 💬 1 comment Opened May 30, 2025 by revsmoke Closed Aug 15, 2025

Environment

  • Platform (select one):
  • [ ] Anthropic API
  • [ ] AWS Bedrock
  • [ ] Google Vertex AI
  • [x] Other: <!-- specify -->
  • Claude CLI version: 1.0.6 (Claude Code)
  • Operating System: MacOS 15.4.1 (24E263)
  • Terminal: Terminal App, Windsurf Terminal

Bug Description

Updated to 1.0.6 and now all requests return this error (even after restart and reinstall):

API Error: 400 
    {"type":"error","error":{"type":"invalid_request_error","message":"tools.82.custom.name: String 
    should match pattern '^[a-zA-Z0-9_-]{1,64}$'"}}

Steps to Reproduce

  1. Update to Claude Code 1.0.6
  2. Make any request

Expected Behavior

Valid response not an error

Actual Behavior

Error: {"type":"error","error":{"type":"invalid_request_error","message":"tools.82.custom.name: String should match pattern '^[a-zA-Z0-9_-]{1,64}$'"}}

Additional Context

Tried in two different terminals. Restarted, tried different prompts. Reinstalled. Same issues. Have been using 1.0.5 all day with no issues.

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗