get_page_count
Retrieve the total page count of any PDF file. Returns a simple integer indicating the number of pages.
Instructions
Get the total number of pages in a PDF file. Returns a simple integer count.
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": {
"file_path": "<file_path>"
},
"name": "get_page_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | Path to the PDF file to count pages for |