bind_variable_to_node
Bind or unbind a variable to a node field such as width, height, or cornerRadius. Pass variableId: null to remove the binding.
Instructions
Bind a variable to a node field (e.g. width, height, characters, itemSpacing, topLeftRadius, or cornerRadius to bind all four corners at once), or unbind by passing variableId: null. The variable type must match the field. Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| field | Yes | Bindable field name, e.g. "width" | |
| nodeId | Yes | Node to bind on | |
| variableId | Yes | Variable id to bind, or null to remove the binding on this field |