set_group_parent
Move an element into a group (or out to root). Refuses to place a group inside its own descendants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | 0-based insert position among the new parent's children. Defaults to end. | |
| elementId | Yes | Full element id: video.<id>, image.<id>, shapes.<id>, or group.<id>. | |
| projectId | Yes | Opaque project id (a v4 UUID, from list_projects/create_project). Selects which existing project this call mutates. | |
| parentGroupId | Yes | Bare group id of the new parent, or null to move to root. |