Set instance properties
figma_set_instance_propertiesSet component properties on a Figma instance—label text, variant, boolean, swapped icon—while keeping it linked.
Instructions
Change an instance's component properties — its label text, a variant (Size, State), a boolean, a swapped icon — the way the right panel does, keeping it linked to its component. Names may be given without their #id suffix. figma_get_design_context lists an instance's properties; figma_get_component lists every option. A SLOT is not set here: create layers inside it (parentId = the slot). Editors: Design; unverified: FigJam, Slides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The INSTANCE. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| properties | Yes | JSON object, e.g. {"Label": "Buy now", "Size": "Large", "Show icon": "false"}. | |
| 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. |