duplicate_page
Duplicate a page in an InDesign document, specifying the position (at end, beginning, 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) |