get_selection_context
Fetch full context for the selected Figma nodes in a single call. Includes layout-aware data and instance component properties, replacing multiple chained requests.
Instructions
One-call bundle for the current selection: compact layout-aware node info plus (for instances) main component id, property definitions/values, and slots. Use instead of chaining get_selection→get_node_info→get_component_property_definitions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Replace the compact default with only these fields (plus id/name/type). | |
| verbose | No | Use the raw REST dump for the node summary. | |
| maxDepth | No | Levels of children to expand. Defaults to 0 (node itself). | |
| excludeTypes | No | Skip these node types. Default skips VECTOR children; pass [] to include them. |