adjust_page_layout
Adjust page layout by setting new dimensions, margins, and bleed values for a specified page in an InDesign document.
Instructions
Adjust page layout with new dimensions and margins
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": "adjust_page_layout"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | Page width (e.g., "600px", "8.5in") | |
| height | No | Page height (e.g., "800px", "11in") | |
| bleedTop | No | Top bleed (e.g., "3mm") | |
| pageIndex | Yes | Page index | |
| topMargin | No | Top margin (e.g., "20mm") | |
| leftMargin | No | Left margin (e.g., "20mm") | |
| bleedBottom | No | Bottom bleed (e.g., "3mm") | |
| bleedInside | No | Inside bleed (e.g., "3mm") | |
| rightMargin | No | Right margin (e.g., "20mm") | |
| bleedOutside | No | Outside bleed (e.g., "3mm") | |
| bottomMargin | No | Bottom margin (e.g., "20mm") |