{"version":"2.1.300","anchor":"pdf-read-result-gains-totalpages-for-long-pdfs","canonical_anchor":"pdf-read-result-gains-totalpages-for-long-pdfs","heading":"Reading a long PDF now reports its total page count","tier":"internal","area":"Read Tool","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/pdf-read-result-gains-totalpages-for-long-pdfs","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Reading a long PDF now reports its total page count\n\nWhen a PDF is too long to read whole, the read result now includes totalPages, and the count is kept when results are combined\n\n**What**\n\nWhen Claude reads a PDF without naming a page range and the file is too long to read whole, only its first pages are extracted. Two changes go with this:\n\n- The read result gains an optional `totalPages` field giving the number of pages in the document. It is set only in that case, and is marked `@internal`.\n\n- When file read results are combined, `totalPages` is now carried over along with `firstPage`. Before, only `firstPage` and the pages were kept.\n\n**Why**\n\nClaude can now be told how long a cut-short PDF really is, so it knows there are more pages it could ask for.\n\n- Area: Read Tool\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}