create_variable_collection
Create a new variable collection in Figma to organize design tokens. Automatically creates a default mode and returns the collection ID and default mode ID.
Instructions
Create a variable collection. Figma auto-creates a default mode. Returns { ok, collectionId, defaultModeId, name }.
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 | Collection name, e.g. "Theme" |