get_node_info
Fetch detailed information about a specific Figma node at a chosen depth; returns partial results with a next cursor when the time budget expires.
Instructions
Get detailed information about a specific node in Figma, read from the live node down to the requested depth only (if the time budget is reached the answer says PARTIAL) (text nodes carry textStyle {id,name}; frames carry clipsContent). The subtree is limited by depth (default 1: the node and its direct children; deeper levels are replaced by childrenCount). Raise depth only when needed: a whole frame can be huge.
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_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Levels of children to return (default 1; 0 = the node alone) | |
| nodeId | Yes | The ID of the node to get information about | |
| timeBudgetMs | No | Time budget of the plugin for this call in ms (default 60000, max 100000). When it is reached the answer says it is PARTIAL and gives nextCursor. |