Get one node
figma_get_nodeRead a Figma node and its children to a chosen depth, returning normalized DTO data or bounded REST JSON when you need fields other tools omit.
Instructions
One node with its children down to depth, as a normalized DTO (id, name, type, childCount; with includeGeometry also layout, size, position, padding, radius, fill, scrolling). FigJam and Slides nodes also carry what they are: a sticky's or shape's text (200 characters), shapeType, a connector's endpoints and label, a table's size, a slide's row and column; a slide grid or row is opaque (only its box can be read). Depth 0 returns the node alone. Children are capped per node; the count is always reported so a cap is never mistaken for the real structure. format: "rest" returns Figma's own REST JSON for the subtree instead (cut at 200 KB, truncated says so) — for a field the DTO and figma_get_design_context leave out.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | How many child levels to include. Default 1. | |
| format | No | "dto" (default) or "rest" (Figma REST JSON, bounded). | |
| nodeId | Yes | Node id (`12:34` or `12-34`) or a Figma link to the layer. Get ids from figma_get_selection, figma_search_nodes or figma_get_design_context. | |
| session | No | Optional sessionId or file name, to pick a Figma file when more than one is connected. | |
| includeGeometry | No | Layout, size, position, padding, radius, fill. Default true. | |
| maxChildrenPerNode | No | Cap on children listed per node. Default 50. |