set_variable_value
Set values for Figma variables in specific modes including hex colors, numbers, strings, or booleans to update design properties.
Instructions
Set a variable's value for a specific mode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| modeId | Yes | Mode ID within the collection | |
| value | Yes | Value to set. COLOR: hex e.g. #FF5733. FLOAT: number e.g. 16. STRING: text. BOOLEAN: true or false. | |
| variableId | Yes | Variable ID |