Create variable collection
figma_create_variable_collectionCreates a Figma variable collection with named modes, such as Light and Dark, so design tokens can be organized and reused across themes.
Instructions
Creates a variable collection with modes, e.g. name "Colors", modes ["Light","Dark"].
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": "figma_create_variable_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Figma link (or file key) of the file to edit. Needed only when the plugin is open in more than one file. | |
| name | Yes | ||
| modes | No |