create_variable_collection
Create a Figma variable collection by specifying a name and optional named modes such as Light and Dark. Target a specific document channel when multiple Figma files are open.
Instructions
Create a Figma variable collection with optional named modes (e.g. ["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": "create_variable_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Collection name | |
| modes | No | Optional mode names e.g. ["Light", "Dark"] | |
| channel | No | Optional Figma document channel, fileKey, or documentName when multiple Figma files are open |