add_item_to_group
Add a page item to an existing group in an InDesign document by providing the page, group, and item indices.
Instructions
Add a page item to an existing group
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>",
"groupIndex": "<groupIndex>",
"itemIndex": "<itemIndex>"
},
"name": "add_item_to_group"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| itemIndex | Yes | Index of the page item to add to the group | |
| pageIndex | Yes | Index of the page containing the group and item | |
| groupIndex | Yes | Index of the group to add the item to |