figma_get_file
Retrieve a Figma file's document tree. Adjust depth to get pages, top-level frames, or nested nodes; use nodeId to fetch a specific subtree.
Instructions
Get file document tree. Defaults to depth=2 (pages + top-level frames). Set higher depth for deeper traversal, or use figma_get_node for a specific subtree.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Tree depth (default 2). 1=pages only, 2=pages+frames, omit or set higher for deeper. | |
| nodeId | No | ||
| fileKey | Yes |