set_variable
Set a Figma variable's value for a specific mode using variableId, modeId, and a type-appropriate value; retrieve IDs first with get_variables.
Instructions
Устанавливает значение Figma variable для конкретного режима (mode). Используй get_variables, чтобы узнать variableId и modeId.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Новое значение — тип зависит от resolvedType переменной (COLOR/FLOAT/STRING/BOOLEAN) | |
| modeId | Yes | ||
| variableId | Yes |