Validation Error: Tool Name Exceeds 64 Character Limit

Resolved 💬 1 comment Opened Jun 10, 2025 by pfbns Closed Jun 10, 2025

Bug Description

check if it is deployed. test it

⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"tools.20.custom.name: String should have at most 64 characters"}}

Environment Info

  • Platform: macos
  • Terminal: vscode
  • Version: 1.0.17
  • Feedback ID: 5d352762-15a7-44ec-bde8-bb948fe6ffe7

Errors

[{"error":"Error: Command failed: security find-generic-password -a $USER -w -s \"Claude Code\"\nsecurity: SecKeychainSearchCopyNext: The specified item could not be found in the keychain.\n\n    at genericNodeError (node:internal/errors:983:15)\n    at wrappedFn (node:internal/errors:537:14)\n    at checkExecSyncError (node:child_process:882:11)\n    at execSync (node:child_process:954:15)\n    at YZ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:654:3921)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:11794\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:526:17190)\n    at cJ (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10940)\n    at aP (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:10021)\n    at a6 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:582:14133)","timestamp":"2025-06-10T18:08:06.872Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.20.custom.name: String should have at most 64 characters\"}}\n    at Y5.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12578)\n    at Kw.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Qw2.ae.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:20863)\n    at async ae (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:12252)\n    at async Qw2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:20726)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17149\n    at async vo1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:5204)\n    at async dd (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17119)","timestamp":"2025-06-10T18:08:15.495Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.20.custom.name: String should have at most 64 characters\"}}\n    at Y5.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1338:12578)\n    at Kw.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:2082)\n    at Kw.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1353:5257)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async Qw2.ae.showErrors (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:20863)\n    at async ae (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:12252)\n    at async Qw2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:20726)\n    at async file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17149\n    at async vo1 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:5204)\n    at async dd (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1680:17119)","timestamp":"2025-06-10T18:10:10.102Z"}]

View original on GitHub ↗

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