figma_batch_create_variables
Create up to 100 Figma variables in one collection in a single call, replacing repeated single-variable requests for bulk token setup. Fetch the collection ID first.
Instructions
Create multiple variables in one operation. Use instead of calling figma_create_variable repeatedly — up to 50x faster for bulk operations. Get collection IDs from figma_get_variables first. Requires Desktop Bridge plugin.
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": {
"collectionId": "<collectionId>",
"variables": "<variables>"
},
"name": "figma_batch_create_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variables | Yes | Array of variables to create (1-100) | |
| collectionId | Yes | Collection ID to create all variables in (e.g., 'VariableCollectionId:123:456') |