set_bound_variable
Bind a variable to a node's property to manage its value, or set a variable's mode in a collection to switch between design variants.
Instructions
Bind a variable to a node's property or set explicit variable mode
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | The ID of the node to modify | |
| nodeName | Yes | Name of the node to modify | |
| field | No | The property field to bind (e.g. 'fills', 'width', 'fontName') | |
| variableId | No | The ID of the variable to bind. Pass null/undefined to unbind. | |
| collectionId | No | If setting mode: The collection ID | |
| modeId | No | If setting mode: The mode ID to set for the collection |