Layers on the current page
figma_get_treeRetrieves the top-level layer hierarchy of the active Figma page. Optionally increases depth to walk down the tree, but keep depth minimal to avoid massive results.
Instructions
The top-level layers of the page the designer is looking at. Increase depth to walk further down, but note that a deep page is thousands of rows: prefer figma_get_children on one branch.
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 | How many levels to walk. Default 1. |