figma_get_node
Retrieve detailed design data for a Figma node and its subtree, including geometry, styles, variables, text, components, and Dev Mode annotations for AI analysis.
Instructions
Detailed design data for a node and its subtree: geometry, fills/strokes/effects (hex), auto-layout, text styling and runs, component/instance info, bound variables and style names. Instances are not expanded (see mainComponentId). Dev Mode's handoff data where a node has it: devStatus as figma_dev_status describes it, annotations (label as markdown, category, the properties pinned) and measurements (from/to node ids and sides; the distance itself is not stored). devStatus is absent on a node never marked: a record that is none and was none, with no user or note on it, is one Figma keeps on components nobody marked, and only figma_dev_status with status none or any lists it. Where path does not split on ' / ' into its names, pathIds follows it: one id per name, page first. Dated by exportedAt and account, or fileModifiedAt for a file read from disk, as the server's instructions say (figma-reader help on the command line).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | A local .fig path, a Figma file key or a figma.com/design/... URL (see the server's instructions, or figma-reader help) | |
| depth | No | Child levels to include (default 3) | |
| node_id | No | ||
| refresh | No | Export the live file again rather than read a local or cached copy (see the server's instructions, or figma-reader help) |