claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Tools use fails wth "`tool_use` ids were found without `tool_result` blocks immediately "

Open MarcinOrlowski opened this issue 10 months ago • 1 comments

It was attempting to update the text file content. Claude 1.0.1

⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.22: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01Gho1LhNQt7FjqEiiHkrVMK.
Each `tool_use` block must have a corresponding `tool_result` block in the next message."}}

MarcinOrlowski avatar May 22 '25 19:05 MarcinOrlowski

Hi, any chance you can share the transcript using /bug? You can resume the session with claude --resume if you've ended it already.

igorkofman avatar May 22 '25 21:05 igorkofman

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.

github-actions[bot] avatar Aug 13 '25 14:08 github-actions[bot]