figma_read
Reads a Figma frame or node as structured design data—layout, styles, text, variables, and component props—for building it in code, with an optional screenshot.
Instructions
Read a frame or node as design data for building it in code: the node tree with boxes relative to the parent, auto layout (direction, gap, padding, alignment, sizing), fills, strokes, radius, effects, text with font, weight, size, line height, tracking and colour (runs when mixed), component and variant props, and bound variables and styles by name. Also a summary of the colours, fonts, variables and styles used. With no node_id it reads the selection, else the first top-level node. Set screenshot to also see it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "figma_read"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | levels to descend, default 12 | |
| scale | No | screenshot scale, default 1 | |
| node_id | No | ||
| max_nodes | No | default 1500 | |
| screenshot | No |