figma_get_tree
Retrieve a lightweight outline of a Figma node or page with IDs, names, types, and boxes up to a set depth. Use it to find node IDs for inspection or editing.
Instructions
Lightweight outline (id, name, type, box) of a node or the current page, up to a given depth. Use to find node ids.
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_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | ||
| nodeId | No | Node id ("1:2" or "1-2") or a Figma URL containing ?node-id= |