Delete styles
figma_delete_styleDelete local paint, text, effect, or grid styles by ID without altering nodes that already use their values. Retrieve IDs with figma_get_styles.
Instructions
Delete local styles (paint, text, effect, grid) by id. Nodes that used one keep the values it gave them. figma_get_styles 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. | |
| styleIds | Yes | ||
| 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. |