[Bug] REPL cat() command fails to extract text or image from PDF files
Resolved 💬 1 comment Opened Apr 22, 2026 by kohowski Closed May 27, 2026
Bug Description
Gave CLAUDE_CODE_REPL a try - cat() cannot properly read/render PDFs with poppler like Read tool can. Kinda makes sense if any output is supposed to be plain text for piping. You probably want to keep the Read tool available to the model and have instructions say prefer reading PDFs with Read.
Separately, even if not for image extraction / rendering, cat() needs to be fixed to at least allow text extraction from PDFs. It currently returns empty string no matter what, per Claude.
Environment Info
- Platform: win32
- Terminal: windows-terminal
- Version: 2.1.117
- Feedback ID: a4c8c621-6c25-4493-bced-6360bdb413b7
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗