page_dimensions
Retrieve the exact width and height in points of every page in a PDF. Use this data to verify page sizes for printing or design.
Instructions
Get page dimensions (width × height in points) for all pages in a PDF.
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": "<file>"
},
"name": "page_dimensions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the PDF file |