duplicate_page_item
Duplicate a page item in Adobe InDesign to a specified location by providing page and item indexes along with X and Y coordinates.
Instructions
Duplicate 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>",
"x": "<x>",
"y": "<y>"
},
"name": "duplicate_page_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | X coordinate for the duplicate | |
| y | Yes | Y coordinate for the duplicate | |
| itemIndex | Yes | Index of the page item to duplicate | |
| pageIndex | Yes | Index of the page containing the item |