{"version":"2.1.292","anchor":"pdf-reading-uses-the-open-file-handle","canonical_anchor":"pdf-reading-uses-the-open-file-handle","heading":"PDF page reading no longer reopens the file","tier":"internal","area":"PDF Reading","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292\/e\/pdf-reading-uses-the-open-file-handle","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.292","markdown":"### PDF page reading no longer reopens the file\n\nClaude Code now passes the already-open PDF to pdfinfo and pdftoppm instead of opening the file path again\n\n**What**\n\nWhen Claude Code reads a PDF, it uses the tools `pdfinfo` (which counts pages) and `pdftoppm` (which turns pages into images). It now feeds them the contents of the file it already has open, instead of having them open the file path again.\n\n**Why**\n\nThis closes a gap where the file could be swapped for a different one between Claude Code opening it and the tools reading it.\n\n- Area: PDF Reading\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}