apply_variable_to_node
Bind a Figma variable to a node property such as fills, opacity, or dimensions. Call once per property to apply a variable value directly to the selected node.
Instructions
Bind a variable to a node property in Figma. Call once per field — for multiple fields, call multiple times.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to bind the variable to | |
| variableId | Yes | The ID of the variable to bind | |
| field | Yes | The node property field to bind (e.g., 'fills/0/color', 'opacity', 'width', 'height') |