add_page
Insert a page into an InDesign document at a specified position, before or after an existing page, or at the end. Optionally apply a master page.
Instructions
Add a new page to the document
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | end | |
| pageIndex | No | Reference page index (for before/after) | |
| masterPage | No | Master page to apply |