inspect_bound_variables
Diagnose why layers fail to re-theme by inspecting bound variables, attached styles, and instance constraints that override raw writes.
Instructions
Diagnostic: dump the per-node state that can override raw writes — boundVariables (bound Figma Variables take visual precedence over any raw fill/stroke/effect/numeric value), fillStyleId/strokeStyleId/effectStyleId/textStyleId (attached Figma Styles), and insideInstance (non-overridable instance sublayers silently reject writes). Use this to figure out WHY a specific layer visually doesn't re-theme even though apply_theme reports the write as applied.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "inspect_bound_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | 'selection' inspects each listed node only. 'self-and-descendants' walks each node's full subtree. | |
| nodeIds | No | Explicit node ids to inspect. If omitted, uses current selection. |