add_control
Adds a single control to a CAR-TER layout buffer. Accepts a control JSON object and optional tab and position for auto-placement.
Instructions
Add one control to the buffer. Auto-assigns a unique id and (if no position is given) the next free grid slot honoring the control's default span.
Args: control_json: A single control object, e.g. {"type":"gauge","label":"Battery"}. tab_index: Which tab to add to (default 0). position: Optional [row, col]; omit to auto-place.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | No | ||
| tab_index | No | ||
| control_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |