PDF info
pdf_infoRead a PDF locally to report page count, page sizes, title, and encryption status before splitting, extracting, or rotating pages. Fails clearly if the file is not a PDF or needs a password.
Instructions
Read a PDF on this machine and report its page count, page sizes, title and whether it was encrypted. Read-only: nothing is written. Use before split_pdf, extract_pdf_pages or rotate_pdf to learn the page count. Fails with a readable error if the file is not a PDF or needs a password.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the PDF. | |
| password | No | Password for a PDF that asks for one when opened. Used only on this machine. |