delete_variable
Permanently deletes a Figma local variable and removes its binding from nodes. Cannot be undone through this tool.
Instructions
DESTRUCTIVE: permanently delete a local variable. Nodes bound to it lose the binding. Cannot be undone through this tool.
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": "delete_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variableId | Yes | ID of the variable to delete |