set_variable_mode
Set a node to use a specific mode of a variable collection, controlling which variable values it displays.
Instructions
Set a node to use a specific mode of a variable collection.
This controls which variable values the node displays. For example, set a frame to use "Dark" mode of the "Theme" collection so all bound variables show dark values.
Examples: set_variable_mode({node: "1:2", collection: "VariableCollectionId:1:2", mode: "1:1"}) set_variable_mode({node: "1:5", collection: "VariableCollectionId:1:3", mode: "1:2"})
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": {
"node": "<node>",
"collection": "<collection>",
"mode": "<mode>"
},
"name": "set_variable_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node | Yes | Node ID (e.g. "1:2") | |
| collection | Yes | VariableCollectionId | |
| mode | Yes | Mode id (e.g. "1:1") |