What a component exposes
figma_component_propertiesRetrieve component properties—variants and text, boolean, instance-swap—with exact keys required to update instance values.
Instructions
The properties a component, component set or instance has: the variants, and the text, boolean and instance-swap properties, with what this instance currently has them set to.
Call this before figma_set_instance_properties. The key that setter needs carries an id suffix for everything but a variant — "Label#8:2", not "Label" — and there is no way to guess it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Figma node id, like "21:10314". Omit to use whatever is selected on the canvas. |