get_main_component
Retrieves the main component details—ID, name, variant, and component set—for one or more Figma INSTANCE nodes directly via the plugin, without REST API calls.
Instructions
Return the main component (id, name, variant name and component set) of one or more INSTANCE nodes, read directly in the plugin (no REST API).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | ID of a single instance | |
| nodeIds | No | IDs of multiple instances |