claude-code
claude-code copied to clipboard
[BUG] each tool_use must have a single result. Found multiple `tool_result` blocks
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?
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