figma_get_node_state
Read fills and strokes on a Figma node, including each paint's bound variable ID, to audit applied design tokens. Use for node-level token audits, not component properties or variable values.
Instructions
Read fills, strokes, and their bound variable IDs from any node. Use when auditing what design tokens are applied to a specific node. Returns paint objects with boundVariableId for each fill/stroke. NOT for component property definitions (use figma_get_component). NOT for variable values (use figma_get_variables). Requires Desktop Bridge connection.
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": "figma_get_node_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node ID (e.g. '15:203'). Get from figma_get_selection or figma_search_components. |