figma_delete_variable
Deletes a Figma variable by ID; this destructive action cannot be undone. Retrieve IDs via figma_get_variables first; requires Desktop Bridge plugin.
Instructions
Delete a Figma variable. WARNING: This is a destructive operation that cannot be undone (except with Figma's undo). Use figma_get_variables first to get variable IDs. 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": {
"variableId": "<variableId>"
},
"name": "figma_delete_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableId | Yes | The variable ID to delete (e.g., 'VariableID:123:456'). Get this from figma_get_variables. |