create_variable_collection
Create a local variable collection in Figma. Optionally provide mode names: the first renames the default mode, and the rest add new modes.
Instructions
Create a local variable collection. Optionally provide mode names; the first renames the default mode and the rest are added.
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": {
"name": "<name>"
},
"name": "create_variable_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the variable collection | |
| modes | No | Optional list of mode names. First renames the default mode; extras are added. Omit for a single default mode. |