add_variable_mode
Add a mode to a Figma variable collection by ID or name and return the new modeId for design system updates.
Instructions
Add a mode to a variable collection (ID or name). Returns the new modeId.
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": {
"collection": "<collection>",
"name": "<name>"
},
"name": "add_variable_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| collection | Yes |