figma_update_variable
Update a design variable's value in a specific Figma mode. Provide variableId, modeId, and the new value; obtain IDs from figma_get_variables.
Instructions
Update a variable value in a mode. Get IDs from figma_get_variables.
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": "figma_update_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| modeId | Yes | ||
| variableId | Yes |