{"version":"2.1.271","anchor":"new-pdf-error-path-unknown-page-count-on-large-files","canonical_anchor":"new-pdf-error-path-unknown-page-count-on-large-files","heading":"New PDF error path: unknown page count on large files","tier":"notice","area":"Elsewhere","scope":null,"heads_up":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271\/e\/new-pdf-error-path-unknown-page-count-on-large-files","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.271","markdown":"### New PDF error path: unknown page count on large files\n\nReading a large PDF whose page count can't be determined now fails with a clear error\n\n**What**\n\nWhen Claude tries to read a PDF file and the tool can't determine how many pages it has (because the underlying `pdfinfo` check fails) and the file is large enough to cross a size threshold, it now throws a dedicated `page_count_unknown` error instead of just proceeding. The error tells the model to use the `pages` parameter to read the file in parts.\n\n**Why**\n\nThis avoids Claude silently attempting to process a large PDF it can't properly size up, and instead points it toward a working approach of reading the file in specific page ranges.\n\n- Area: Elsewhere\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5"}