pdf_page_count
Count the pages in a PDF and answer how many pages a document has. Reads only the page tree to avoid processing text or metadata, so large files stay cheap to check.
Instructions
Count the pages in a PDF. Answers "how many pages is this?".
Reads only the document's page tree, so it stays cheap on large files. It does not read page text, page sizes, or document properties.
Args: ref: PDF file path, or a workspace artifact id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |