Count pages in several PDFs
pdf_countCount pages in one or more PDFs, returning per-file page counts, totals, and how many files were readable. Unreadable files are listed separately without stopping the rest.
Instructions
Page count per file plus the total, for any number of PDFs, with how many were readable. A file that cannot be read is reported on its own row and the others still count. Read-only. Free and unlimited.
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": {
"paths": "<paths>"
},
"name": "pdf_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | Yes | Paths to the PDF files |