Node subtree
vault_get_nodeRetrieve a specific Figma node and all its descendants to target exactly the needed subtree, avoiding full-document fetches.
Instructions
A node by id with all of its descendants. Use it instead of pulling the whole document.
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": {
"docId": "<docId>",
"nodeId": "<nodeId>"
},
"name": "vault_get_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Document id as returned by vault_list | |
| nodeId | Yes | Node id in Figma format, for example 1:42 | |
| 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. |