figma_set_variable_value
figma_set_variable_valueSets a local Figma variable's value for a specific mode, letting AI agents update design tokens programmatically by variable, collection, or mode identifiers.
Instructions
Set a local variable value for a mode.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_set_variable_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | No | ||
| modeId | No | ||
| modeName | No | ||
| variableId | No | ||
| collectionId | No | ||
| variableName | No |