Issue Title: "Tool Parameter Validation Failure in Recent API Responses" This issue suggests there's a systematic problem with tool parameter validation in the API. Here's a breakdown: Potential Causes: - Recent API/SDK changes breaking parameter validat

Resolved 💬 10 comments Opened May 22, 2025 by Kayum15 Closed May 22, 2025

Bug Description
Since last 5 response it shows invalid tool parameters. So what is this isue about and how to fix it

Environment Info

  • Platform: macos
  • Terminal: iTerm.app
  • Version: 1.0.1
  • Feedback ID: bed3e1ae-4cbd-4166-bcf2-2bb3bde8cf15

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 cG (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:644:3513)\n    at file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:15313\n    at Q (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:532:13335)\n    at oR1 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:14562)\n    at aI (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:574:14179)\n    at JU2 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2061:20995)","timestamp":"2025-05-22T19:38:45.918Z"},{"error":"AbortError: The operation was aborted\n    at abortChildProcess (node:child_process:716:27)\n    at onAbortListener (node:child_process:786:7)\n    at process.processTicksAndRejections (node:internal/process/task_queues:85:11)","timestamp":"2025-05-22T19:38:45.947Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/shiv/.claude/ide'\n    at Module.readdirSync (node:fs:1581:26)\n    at Object.readdirSync (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:1519)\n    at wD0 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:16584)\n    at Ya (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1316:2580)\n    at file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2466:11384\n    at f7 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:21374)\n    at gZ (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:40861)\n    at zW (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:34915)\n    at W5 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:148:4822)\n    at $8 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:32232)","timestamp":"2025-05-22T19:38:48.599Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/shiv/.claude/ide'\n    at Module.readdirSync (node:fs:1581:26)\n    at Object.readdirSync (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:1519)\n    at wD0 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1315:16584)\n    at AS4 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1316:555)\n    at VD0 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1316:2305)\n    at RD0 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:1316:5711)\n    at file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:2496:2017\n    at f7 (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:21374)\n    at gZ (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:40861)\n    at zW (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:150:34915)","timestamp":"2025-05-22T19:38:48.600Z"},{"error":"Error: ENOENT: no such file or directory, scandir '/Users/shiv/.claude/ide'\n    at Module.readdirSync (node:fs:1581:26)\n    at Object.readdirSync (file:///Users/shiv/.npm-global/lib/node_modules/@anthropic-ai/claude-code/cli.js:540:1519)\n    at wD0 (file:///Users/shiv/.npm-global/li

Note: Error logs were truncated.

View original on GitHub ↗

This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗