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
Status Fixed / completed
Maintainer reply ✓ Yes — igorkofman
Activity 10 comments · opened May 22, 2025 · closed May 22, 2025
💡 Likely answer: A maintainer (igorkofman, collaborator)
responded on this thread — see the highlighted reply below.
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.
10 Comments
Thanks for the report, we have a fix rolling out shortly
We just pushed version 1.0.2
We believe this contains the fix
npm may be inconsistent for a little while but if you're able to get the new version, please verify the fix
this is looking fixed in our monitoring. please let us know if you continue to encounter issues after updating.
I updated to version 1.0.2
I am having the same issue, running claude code in terminal, on both Linux Ubuntu or Arch Linux. It occurs when using Claude Opus whenever I try to have it write anything. The issue occurs regardless of the task, and whether claude is installed locally or globally.
Edit: It may be worth noting I am on Claude Max for my billing.
!Image
Could you double check that you are running 1.0.2 (claude --version). Does changing the model to Sonnet fix the issue (the bug only affected Opus)
Honestly, I am unsure how to verify which model I am using. I understand I should be able to modify it as an environmental variable, do I do it through .claude/settings.json?
claude --versionfor version/modelcommand should give you model info and choicethe model will also be shown in the banner
Thanks friend.
I have no issues on Sonnet, I can confirm it is only on Opus that the "Invalid Tool paramaters" occurs. It will ususally sit for a long time, like 5 minutes not using tokens, between throwing the error, but will keep trying for like 30 minutes.
Here is a screenshot showing version 1.0.2:
!Image
Also, I am using Bazzite here but I can confirm behavior is the same on my Ubuntu system. I can get screenshots from there if that is more helpful/reliable.
@wolffiex It's back again! What's the problem now, since using Claude Code is a mental health hazard?
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.