set_variable_alias
Create a variable alias for a specific mode, linking one variable to another of the same type. Use it to keep mode-specific values synchronized in Figma design systems.
Instructions
Make a variable, for one mode, an alias of another variable (same type).
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>",
"mode": "<mode>",
"aliasVariableId": "<aliasVariableId>"
},
"name": "set_variable_alias"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| variableId | Yes | ||
| aliasVariableId | Yes |