Count PDF pages
pdf_page_countGet the page count of any PDF without sending the file anywhere — all processing occurs on your local machine.
Instructions
Return the number of pages in a PDF. Runs entirely on this machine — the file is read and written locally and never sent anywhere.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"input": "<input>"
},
"name": "pdf_page_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | Path to the input PDF |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | Yes |