figma_get_component_variants
Retrieve all variant siblings of an instance's main component to see available options before switching variants or components. Returns list of variant IDs, keys, and names for informed selection.
Instructions
Get all variant siblings of an instance's main component (all options in the component set). Use this to discover available variant values before calling figma_set_variant or figma_swap_main_component. Returns: { variants: [{id, key, name}] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node ID of an INSTANCE node. |