delete_variable
Remove a specified variable from Figma using its variable ID. Keep design systems clean by deleting unused or obsolete variables.
Instructions
Delete a variable.
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 | Variable to delete |