pdf_crop
Crop PDF pages to specific dimensions by defining a left, bottom, right, top box and saving the result to a new PDF file.
Instructions
Crops pages to specific dimensions. [Input: PDF (.pdf) | Output: PDF (.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": {
"input": "<input>",
"box": "<box>",
"output": "<output>"
},
"name": "pdf_crop"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| box | Yes | The crop box in format 'left,bottom,right,top' e.g. '0,0,595,842'. | |
| input | Yes | The input PDF file path. | |
| output | Yes | File path for the cropped output. |