set_instance_properties
Set component instance properties including variants, booleans, text, and instance swaps by providing property names and values. Unspecified properties keep their current values.
Instructions
Set an instance's component properties (variant / boolean / text / instance-swap). Keys are the property names from get_component_api, used verbatim: VARIANT by bare name (e.g. "Size": "Large"), BOOLEAN/TEXT/INSTANCE_SWAP suffixed with #id (e.g. "Label#2:0": "Sign in", "Disabled#1:2": true). An INSTANCE_SWAP value is the target component node id. Unspecified properties keep their value; SLOT properties are not settable. Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instanceId | Yes | Instance node id to update | |
| properties | Yes | Map of property name (verbatim from get_component_api) → value |