[Bug] Anthropic API Error: Tool Use IDs Without Tool Result Blocks When Parsing PDFs
Resolved 💬 10 comments Opened Sep 22, 2025 by count23all Closed Jan 13, 2026
Bug Description
API Error 400 "tool_use ids were found without tool_Result blocks immediately errors when attempting to analse PDF files in a windows IDE for creation of a sumarization document
Environment Info
- Platform: win32
- Terminal: null
- Version: 1.0.120
- Feedback ID: 57e586e3-fdcb-420b-b92e-15fd5495f7e6
Errors
[{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"messages.10: `tool_use` ids were found without `tool_result` blocks immediately after: toolu_01HcWybrYujVLaMNFXM6JCo7, toolu_01JDfBqH7sCBodTu1VievAxP, toolu_01S5e8P8Kq3qiwMfnSJE4FEF, toolu_01US4KCbz6fwwBNaKxPSKRLJ. Each `tool_use` block must have a corresponding `tool_result` block in the next message.\"},\"request_id\":\"req_011CTNUX7yyvLat8TJE4uHKn\"}\n at new B5 (unknown:1:28)\n at new OY (B:/~BUN/root/claude.exe:841:1962)\n at new RG0 (unknown:1:28)\n at generate (B:/~BUN/root/claude.exe:841:2419)\n at makeRequest (B:/~BUN/root/claude.exe:858:5359)\n at processTicksAndRejections (native:7:39)","timestamp":"2025-09-22T00:15:13.308Z"}]This issue has 10 comments on GitHub. Read the full discussion on GitHub ↗