get_node_info
Fetch a compact, layout-aware summary of any Figma node to inspect size, auto-layout, fills, and children without parsing raw API dumps. Ideal for checking layout and text before edits.
Instructions
Compact layout-aware summary of a node: size, auto-layout (mode, hug/fill, positioning, padding, gap, alignment), fillHex/fillCount, truncated text, and childCount. VECTOR children are omitted unless excludeTypes is []. Default maxDepth is 0 (the node itself). Pass fields to request a subset, or verbose for the raw REST dump.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Replace the compact default with only these fields (plus id/name/type). | |
| nodeId | Yes | ||
| verbose | No | Return the raw JSON_REST_V1 dump instead of the compact layout 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. |