Whole document
vault_get_docRetrieve a normalized design tree with tokens from a Figma vault. Optionally limit depth via maxDepth or include hidden nodes with includeHidden.
Instructions
Normalized design tree together with its tokens. maxDepth cuts the tree by depth (0 — the root only); truncated nodes get childrenOmitted. Hidden nodes are not returned without includeHidden.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document id as returned by vault_list | |
| maxDepth | No | How many levels below the root to return. Omit for the whole tree. | |
| includeHidden | No | Also return nodes hidden in Figma (hidden: true) — optional component slots. Defaults to false: building the screen as it looks does not need them. |