Inspect a PDF
pdf_infoInspect a local PDF to retrieve its page count, per-page dimensions, and document metadata, ensuring valid page references before merging or extracting.
Instructions
Report the page count, per-page dimensions and document metadata of a local PDF. Read-only: the file is never modified. Call this before merging or extracting so page numbers are known to be valid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The PDF to inspect. Absolute, or relative to the client's working directory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| path | Yes | ||
| pages | Yes | ||
| title | Yes | ||
| author | Yes | ||
| pageCount | Yes | ||
| sizeBytes | Yes |