add_group
Add a group container to the buffer with optional position. Nested children are automatically assigned IDs and positions within the group's grid.
Instructions
Add a group container to the buffer (auto-placed unless position given). Nested children are normalized like add_control: each gets an id and an auto-placed position in the group's own grid.
Args: group_json: A group object, e.g. {"label":"Lights","grid":{"columns":2,"rows":2},"children":[...]}. tab_index: Which tab to add to. position: Optional [row, col].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | ||
| tab_index | No | ||
| group_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |