get_node
Retrieve a Figma node and its child elements by node ID, optionally specifying file and depth, to inspect design structure.
Instructions
Return a node and its children up to depth (default 2).
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": {
"nodeId": "<nodeId>"
},
"name": "get_node"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | Target file (fileKey, id or name). Defaults to the most recently active file. | |
| depth | No | ||
| nodeId | Yes | Figma node id, e.g. '12:34' |