set_variable_value
Set a variable's value for a specific mode. Supports color (hex), number, text, and boolean inputs.
Instructions
Set a variable's value for a specific mode.
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": {
"variableId": "<variableId>",
"modeId": "<modeId>",
"value": "<value>"
},
"name": "set_variable_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value to set. COLOR: hex e.g. #FF5733. FLOAT: number e.g. 16. STRING: text. BOOLEAN: true or false. | |
| modeId | Yes | Mode ID within the collection | |
| variableId | Yes | Variable ID |