Read nodes
get_nodesReads Figma frames, layers, and pages by ID, returning each subtree up to a set depth with outline or full detail and a node cap.
Instructions
Read nodes (frames, layers, pages; "0:0" = document) by id with their subtree up to depth. Output is capped by maxNodes (see "truncated").
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ids": "<ids>"
},
"name": "get_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | ||
| depth | No | ||
| detail | No | "outline" = id/name/type/children only (cheap, for exploring); "full" = geometry, fills, layout, text, components | full |
| maxNodes | No |