[Bug] Anthropic API Error: Tool result block missing corresponding tool use block

Resolved 💬 2 comments Opened May 26, 2026 by reed-colloton Closed May 28, 2026

Bug Description
API Error: 400 messages.3.content.0: unexpected tool_use_id found in advisor_tool_result blocks: srvtoolu_01CEWJGSAardci5Upwgm4P6a. Each advisor_tool_result block must have
a corresponding server_tool_use block before it.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.150
  • Feedback ID: 120136db-1228-4082-8759-0832c0b1a146

Errors

[]

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗