get_pdf_info
Read-only. Return a PDF's page count and per-page dimensions (in points). Use this first to plan a split or rotate.
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": {
"pdf": "<pdf>"
},
"name": "get_pdf_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | The PDF as a base64 string or an https URL. |