resize_page
Change the dimensions of an InDesign page by specifying new width and height, with options for resize method, anchor point, and coordinate space.
Instructions
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>"
},
"name": "resize_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | Yes | Page index | |
| width | No | New width in mm | |
| height | No | New height in mm | |
| resizeMethod | No | REPLACING_CURRENT_DIMENSIONS_WITH | |
| anchorPoint | No | CENTER_ANCHOR | |
| coordinateSpace | No | PAGE_COORDINATES |