figma_get_slots
Lists slot children on a Figma component, component set, or instance, returning slot IDs, names, property keys, dimensions, and current children so you can discover slots before appending content.
Instructions
List SlotNode children on a component, component set, or instance. Returns slot IDs, names, property keys, dimensions, and current child nodes. Use on instances before figma_append_to_slot to discover slot names/IDs.
MULTI-FILE (Local Mode only): Pass fileKey to run this against a specific connected file without switching the active file/target lock (see figma_list_open_files). Does not change the active file or target lock. Cloud Mode pairs with a single plugin instance and rejects fileKey.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | COMPONENT, COMPONENT_SET, or INSTANCE node ID | |
| fileKey | No | Local Mode only. Run against this specific connected file instead of the active file. Does not change the active file or target lock. Get connected fileKeys from figma_list_open_files. Rejected in Cloud Mode, which pairs with a single plugin instance. |