duplicate_page
Duplicate any page in an InDesign document. Set its position relative to other pages with options for beginning, end, before, or after a reference page.
Instructions
Duplicate 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": "duplicate_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageIndex | Yes | Page index to duplicate | |
| position | No | AT_END | |
| referencePageIndex | No | Reference page index (for BEFORE/AFTER positioning) |