pdf_page_count
Count the pages in a PDF to find out how many pages it contains. Reads only the page tree, so the count stays light on large files.
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 |