figma_delete_variable_collection
Deletes a Figma variable collection and all its variables in one destructive operation. Use it to remove obsolete token groups; the action cannot be undone except through Figma undo.
Instructions
Delete a Figma variable collection and ALL its variables. WARNING: This is a destructive operation that deletes all variables in the collection and cannot be undone (except with Figma's undo). Requires the Desktop Bridge plugin to be running.
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>"
},
"name": "figma_delete_variable_collection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collectionId | Yes | The collection ID to delete (e.g., 'VariableCollectionId:123:456'). Get this from figma_get_variables. |