[BUG] Regression of #1894?

Resolved 💬 2 comments Opened Sep 25, 2025 by not-a-not-c Closed Sep 25, 2025

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?

Ask claude to read a PDF file = BOOM

What Should Happen?

It should not fail, like before :)

Error Messages/Logs

API Error: 400 {"type":"error","error":{"type":"invalid_request_error","message":"messages.12: `tool_use` ids were found without `tool_result` blocks
    immediately after: toolu_01G7YX2Zfk6YEFVmSmHEQDf4, toolu_01MdmHF3SmqVpi5nHyTA9V9D. Each `tool_use` block must have a corresponding `tool_result` block in
    the next message."},"request_id":"req_011CTVUR2HnWV47QcGbPb4Nt"}

Steps to Reproduce

"Read this directory of PDF files"

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

1.0.123

Claude Code Version

1.0.124

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

iTerm2

Additional Information

_No response_

View original on GitHub ↗

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