figma_get_node_tree
Retrieve the node tree starting from the current Figma page or a specific node. Control depth and visibility of nodes.
Instructions
Get the node tree starting from the current page or a specific node.
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_get_node_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | No | Node ID to start from (default: current page) | |
| maxDepth | No | Max depth (default: 5) | |
| includeInvisible | No | Include invisible nodes |