figma-vault
v0.1.5Figma designs pulled once into a local vault; AI agents read them offline with no rate limits
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
vault_list List designs
Every exported document: docId, file and node name, export time, node count.
vault_get_doc Whole document
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.
| Parameter | Type | Description |
|---|---|---|
docId * | string | Document id as returned by vault_list |
includeHidden | boolean | Also return nodes hidden in Figma (hidden: true) — optional component slots. Defaults to false: building the screen as it looks does not need them. |
maxDepth | integer | How many levels below the root to return. Omit for the whole tree. |
vault_get_node Node subtree
A node by id with all of its descendants. Use it instead of pulling the whole document.
| Parameter | Type | Description |
|---|---|---|
docId * | string | Document id as returned by vault_list |
nodeId * | string | Node id in Figma format, for example 1:42 |
includeHidden | boolean | Also return nodes hidden in Figma (hidden: true) — optional component slots. Defaults to false: building the screen as it looks does not need them. |
vault_search Search the design
Nodes whose name or text content contains the substring (case-insensitive). Returns id, type and the path from the root.
| Parameter | Type | Description |
|---|---|---|
docId * | string | Document id as returned by vault_list |
query * | string | Substring to look for in name and text.content |
includeHidden | boolean | Also return nodes hidden in Figma (hidden: true) — optional component slots. Defaults to false: building the screen as it looks does not need them. |
limit | integer | Maximum number of hits, 50 by default |
vault_get_tokens Design system tokens
Colors, text styles and effects of the document. Nodes refer to them via text.token.
| Parameter | Type | Description |
|---|---|---|
docId * | string | Document id as returned by vault_list |
vault_get_asset Design asset
An image from the document by the path from node.asset.path (for example assets/logo.svg) or screenshot.png. Raster comes back as an image, svg as its source.
| Parameter | Type | Description |
|---|---|---|
docId * | string | Document id as returned by vault_list |
path * | string | Path inside the document directory, for example assets/hero.png |