Edit component property
figma_edit_component_propertyEdit an existing Figma component property: rename it, change its default, set preferred components for instance swaps, or bind/unbind layers across variants.
Instructions
Change a component property that already exists: rename it (name — the key changes and is returned), change its default, set an instance swap's preferred components, or wire / unwire layers (bindNodeIds / unbindNodeIds, matched by name path in every variant of a set). A variant id is redirected to its set. Figma's rules are checked before anything changes: no default for VARIANT or SLOT, preferredValues only on INSTANCE_SWAP and SLOT. To add a property use figma_add_component_property; to change one instance's value, figma_set_instance_properties. Editors: Design; unverified: FigJam, Slides.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A new name. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| property | Yes | Its name ("Label") or full key ("Label#2:0"). | |
| bindNodeIds | No | Layers inside the component to drive with this property. | |
| componentId | Yes | The COMPONENT or COMPONENT_SET (a variant id is redirected to its set). | |
| defaultValue | No | Text, "true"/"false" for BOOLEAN, a component id for INSTANCE_SWAP. | |
| unbindNodeIds | No | Layers to stop driving. | |
| 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. | |
| preferredValues | No | INSTANCE_SWAP / SLOT: component or component-set ids offered first. [] clears them. |