[Bug] Anthropic API Error: Tool name exceeds 128 character limit

Status Fixed / completed
Reported on v2.1.280
Maintainer reply None cached
Activity 1 comment · opened Sep 22, 2026 · closed Oct 12, 2026

Bug Description
API Error: 400 tools.18.custom.name: String should have at most 128 characters

Environment Info

  • Platform: darwin
  • Terminal: cursor
  • Version: 2.1.280
  • Feedback ID: 4c72d0b0-b79e-4eef-a4c1-5dfda146995b

Errors

[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.18.custom.name: String should have at most 128 characters\"},\"request_id\":\"req_011CfK8PZ4vmdim2XM2LJmUw\"}\n    at generate (/$bunfs/root/chunk-yn3me4dk.js:11:14235)\n    at makeRequest (/$bunfs/root/chunk-yn3me4dk.js:51:8033)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-09-22T20:43:00.915Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"tools.18.custom.name: String should have at most 128 characters\"},\"request_id\":\"req_011CfK8QBCp4KWcekkPLuAh7\"}\n    at generate (/$bunfs/root/chunk-yn3me4dk.js:11:14235)\n    at makeRequest (/$bunfs/root/chunk-yn3me4dk.js:51:8033)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-09-22T20:43:09.374Z"}]

View original on GitHub ↗

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