Get Node Tree
get_node_treeRetrieve the structural hierarchy of Figma slides, including node IDs, types, names, and bounding boxes. Set depth to control recursion and nodeId to start from a specific node.
Instructions
Get structural tree: IDs, types, names, bounds. Use depth to limit recursion.
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": "get_node_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Max depth. null = unlimited. | |
| nodeId | No | Root node. Default: current page. |