Environment
- Platform (select one):
- Claude CLI version:
- Operating System:
- Terminal:
Bug Description
spits out this error and stops working (I need to start a new instance):
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.16: tool_use ids were found without tool_result blocks immediately after:
toolu_01ENfqixDcscyvWNA4g95Ucw. Each tool_use block must have a corresponding tool_result block in the next message."}}
Steps to Reproduce
- Start Claude in terminal
- Ask it to use web search tool in a prompt
- Interrupt it via 'esc'
Expected Behavior
That I can 'tell it what to do differently'
Actual Behavior
Stops working re: above bug
Additional Context
Environment
Bug Description
spits out this error and stops working (I need to start a new instance):
API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.16:
tool_useids were found withouttool_resultblocks immediately after:toolu_01ENfqixDcscyvWNA4g95Ucw. Each
tool_useblock must have a correspondingtool_resultblock in the next message."}}Steps to Reproduce
Expected Behavior
That I can 'tell it what to do differently'
Actual Behavior
Stops working re: above bug
Additional Context