Delete variables
figma_delete_variableDelete Figma variables (design tokens) by ID; bound nodes keep their last resolved value. Get IDs with figma_get_variable_defs, then remove one or many tokens.
Instructions
Delete variables (design tokens) by id. Nodes bound to one keep its last resolved value. figma_get_variable_defs lists ids. Returns per-item results: items: [{ id, ok, error? }] — one node failing does not fail the call. Editors: Design; unverified: FigJam, Slides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| variableIds | Yes | e.g. ["VariableID:1:2"]. | |
| idempotencyKey | No | Caller-owned retry key, ≤128 chars. Re-calling with the same key never executes twice: it returns the existing result, or waits for the op still in flight. Supply your own for anything large — if the MCP client times out (rather than the bridge), only a key you chose can be used to retry safely. |