get_node_info
Retrieve a Figma node and its subtree as trimmed REST JSON, including components, styles, text styles, bound variables, and layout details.
Instructions
Get a node and its subtree as Figma's REST JSON, trimmed, with its component, styles, text styles, bound variables and layout
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 |
|---|---|---|---|
| nodeId | Yes | The ID of the node to get information about |