reframe_page
Resize an InDesign page by defining new top-left and bottom-right coordinates, optionally selecting a coordinate space for precise control.
Instructions
Reframe (resize) a page
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": {
"pageIndex": "<pageIndex>",
"x1": "<x1>",
"y1": "<y1>",
"x2": "<x2>",
"y2": "<y2>"
},
"name": "reframe_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x1 | Yes | Top-left X coordinate in mm | |
| x2 | Yes | Bottom-right X coordinate in mm | |
| y1 | Yes | Top-left Y coordinate in mm | |
| y2 | Yes | Bottom-right Y coordinate in mm | |
| pageIndex | Yes | Page index | |
| coordinateSpace | No | PAGE_COORDINATES |