Follow Discord
Sweep 22 Sep 2026 · 17:19Z Build v2.1.280 501 read Stable v2.1.267 Latest v2.1.280 Next v2.1.280 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

PDF page-count detection now distinguishes failure reasons and handles unknown-length PDFs

PDF page-count detection now reports specific failure reasons and handles PDFs with an unknown page count

TierYou'll noticehow much it should matter to you
Useful2my rating, 1 to 5
Signal1worth watching, 1 to 5
AreaElsewherewhat it touches
KindImprovementsin v2.1.271,
You'll notice

PDF page-count detection now reports specific failure reasons and handles PDFs with an unknown page count

What

A new internal step for running pdfinfo (the tool used to determine a PDF's page count) now reports a structured reason when it fails — timeout, not_found, nonzero_exit, no_exit_status, or no_page_count — instead of just returning nothing. When this happens, the PDF is not attached, and Claude is told to use the Read tool's pages parameter to read it in parts, without being told a page count that isn't actually known.

Why

This avoids Claude being given a wrong or fabricated page count for a PDF whose length couldn't be determined, and steers it toward reading the file in parts instead.

See this entry in the whole of v2.1.271 →

Feedback