Skip to content

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

@revsmoke

Description

@revsmoke

Environment

  • Platform (select one):
    • Anthropic API
    • AWS Bedrock
    • Google Vertex AI
    • Other:
  • 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:toolsbugSomething isn't workinghas reproHas detailed reproduction stepsplatform:macosIssue specifically occurs on macOS

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions