modo_set_channels
Sets channel values on multiple scene items in a single batch, returning old and new values and applying one undo step; use atomic mode to abort on first failure.
Instructions
Set channel values on items in one batch, e.g. position, material colour or a light's radiance. Returns the old and new value of each write. Safer than hand-writing item.channel commands, and applied as a single undo step. Use atomic=true to abort the whole batch on the first failure. Writes that would not change the value are skipped (every write fires all scene listeners), and NaN or infinite values are refused.
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": {
"writes": "<writes>"
},
"name": "modo_set_channels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| atomic | No | ||
| writes | Yes | ||
| instance | No | This chat's Modo instance token (modo-xxxxxx) from modo_use_instance or modo_launch_instance. Pass it on every call once you have one; leave empty only while a single chat works with Modo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |