get_component_context
Read Figma component, component set, or instance properties and descendants to gather design-to-code context. Omit node ID to use the current editor selection.
Instructions
Read component, component set or instance properties and descendants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| nodeId | No | Figma node ID, e.g. 12:34. Omit to use the editor selection where supported. | |
| profile | No | Use summary for discovery; full preserves detailed fields (default). | |
| maxBytes | No | Budget for returned JSON metadata; screenshots have separate limits. | |
| maxNodes | No |