polynodes_cuboid_switch
Toggle cuboid 1, 2, or 3 on or off by setting state to 0.0 (off) or 1.0 (on), returning a JSON confirmation.
Instructions
Turn a cuboid (C1/C2/C3) on or off.
Args: cube: 1, 2, or 3. state: 0.0=off, 1.0=on.
Returns: JSON confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cube | Yes | Cuboid number: 1, 2, or 3 | |
| state | Yes | 0.0=off, 1.0=on |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |