macos_pdf_page_count
Count pages in PDF files on macOS to verify document length or prepare for printing and sharing.
Instructions
Get the number of pages in a PDF file.
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": {
"path": "<path>"
},
"name": "macos_pdf_page_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to PDF file |