add_item_to_group
Add a page item to an existing group on a given page within Adobe InDesign.
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 |
|---|---|---|---|
| pageIndex | Yes | Index of the page containing the group and item | |
| groupIndex | Yes | Index of the group to add the item to | |
| itemIndex | Yes | Index of the page item to add to the group |