figma_get_tree
Retrieve a paginated, depth-limited node tree under a specified root from the current Figma session to inspect design document structure.
Instructions
Ограниченное дерево узлов текущей сессии.
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": {
"scope": "<scope>",
"rootId": "<rootId>",
"depth": "<depth>",
"limit": "<limit>"
},
"name": "figma_get_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | ||
| limit | Yes | ||
| scope | Yes | ||
| cursor | No | ||
| rootId | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| nodes | No | ||
| truncated | No | ||
| nextCursor | No |