[BUG] Resources of type 'application/pdf' are not currently supported.

Resolved 💬 1 comment Opened Apr 27, 2026 by krushj Closed May 29, 2026

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?

I am returning resource as blob of type application/pdf but not getting error like though it's working for type image, please create a doc for what types are supported by claude itself

<img width="1386" height="408" alt="Image" src="https://github.com/user-attachments/assets/511c2b7f-a55d-45ed-b9b2-2cfd58e9babf" />

What Should Happen?

It should render all formats, fetch

Error Messages/Logs

Steps to Reproduce

return the blob as application/pdf

Claude Model

None

Is this a regression?

Yes, this worked in a previous version

Last Working Version

_No response_

Claude Code Version

2.1.119

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗