resize_page_item
Resize a page item in an InDesign layout by specifying its page, item index, new dimensions, and anchor point for controlled scaling.
Instructions
Resize a page item
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>",
"itemIndex": "<itemIndex>",
"width": "<width>",
"height": "<height>"
},
"name": "resize_page_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | Yes | New width | |
| height | Yes | New height | |
| itemIndex | Yes | Index of the page item to resize | |
| pageIndex | Yes | Index of the page containing the item | |
| anchorPoint | No | Anchor point for resizing | CENTER_ANCHOR |