set_reactions
Replace a node's prototype reactions by specifying triggers and actions, such as navigation or URL destination. Returns confirmation and node ID.
Instructions
Replace a node's prototype reactions. Each reaction has a trigger (e.g. { type: 'ON_CLICK' }) and an actions array (e.g. { type: 'NODE', destinationId, navigation, transition }). Best used to round-trip get_reactions output. Returns { ok, nodeId }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Node to set reactions on | |
| reactions | Yes | Reactions to apply (replaces existing) |