[BUG] each tool_use must have a single result. Found multiple `tool_result` blocks
Status Closed — not planned
Maintainer reply None cached
Workaround ✓ Mentioned in thread ↓
Activity 12 comments · opened Dec 16, 2025 · closed Mar 2, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
<img width="1118" height="942" alt="Image" src="https://github.com/user-attachments/assets/cd3522ba-f730-4586-a187-06410b571672" />
What Should Happen?
Run without error, IDK how the issue happend therefore I don't have a clear idea how it works in normal.
Error Messages/Logs
API Error: 400 {"error":{"message":"litellm.BadRequestError: OpenAIException - litellm.BadRequestError: Vertex_aiException BadRequestError -
{\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.10.content.1: each tool_use must have a single result. Found
multiple `tool_result` blocks with id: toolu_vrtx_01WjbYafn5hwELEqiDQ4n2wv\"},\"request_id\":\"req_vrtx_011CW9avnHYBK1RUB8buj7oH\"}. Received Model
Group=claude-4.5-haiku\nAvailable Model Group Fallbacks=None. Received Model Group=openai/claude-4.5-haiku\nAvailable Model Group
Fallbacks=None","type":null,"param":null,"code":"400"}}
Steps to Reproduce
claude- Ask some questions which would lead claude trying to do with tools
Claude Model
Not sure / Multiple models
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.0.70 (Claude Code)
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
12 Comments
In my case this seems to happen for task agent only. But it started to happen everytime the task agent is created. Very frustrating. I need to rollback the conversation to before the point where Claude had the idea to create the task agent.
npm-global 2.0.72
This issue still persists in the latest version,
2.1.7.<img width="959" height="201" alt="Image" src="https://github.com/user-attachments/assets/3302a47d-6262-4af3-b7f2-35c0d10a8518" />
<img width="930" height="117" alt="Image" src="https://github.com/user-attachments/assets/73f58ae5-f461-4073-b08a-9e080c05a3d7" />
+1
Same issue.
This problem occurs when I use project sub-agents with project skills.
ClaudeCode version: 2.1.7
+1 as well. I have this error with routing through LiteLLM. Saw this thread describing that downgrading Claude Code fixed it for them, might be of interest.
+1
+1
still 2.1.15
Hi @iammorganparry, I noticed that you have add a workaround for this issue, but I encountered this error again here:
<img width="1356" height="105" alt="Image" src="https://github.com/user-attachments/assets/c9980d23-aa2e-4704-a0fd-86d61914e49c" />
Updated: mb, didn't found that you created the PR in another project instead
+1 same issue just now
⎿ API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.172.content.2: each tool_use must have a single result. Found multiple
tool_resultblocks with id: toolu_012GT7qNPHCz3zUJDx1stJGc"},"request_id":"req_011CXhFdprUZgRGWvsizjziQ"}Didn't really even use agents, as visible below
<img width="2756" height="924" alt="Image" src="https://github.com/user-attachments/assets/f5ea36c1-88bc-4743-ae7f-7cfb03346a44" />
Closing for now — inactive for too long. Please open a new issue if this is still relevant.
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.