pdf_crop_page
Crop a specified page in a PDF to a bounding box using x0, y0, x1, y1 coordinates, removing unwanted areas and focusing on desired content.
Instructions
Crop a page 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": {
"pdf_path": "<pdf_path>",
"page_number": "<page_number>",
"x0": "<x0>",
"y0": "<y0>",
"x1": "<x1>",
"y1": "<y1>"
},
"name": "pdf_crop_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x0 | Yes | ||
| x1 | Yes | ||
| y0 | Yes | ||
| y1 | Yes | ||
| pdf_path | Yes | ||
| page_number | Yes | ||
| coordinate_mode | No | bbox |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |