update_node
Modify a node's content, note, type, collapsed state, or model. Update node properties without invoking an LLM.
Instructions
Apply a structural update to a node (content, note, type, collapsed flag, model). No LLM call, no metering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| mapId | Yes | The map id. | |
| nodeId | Yes | The node id (unprefixed, as returned in node trees). | |
| modelId | No | ||
| messages | No | Replace the node's content as a UIMessage array. | |
| nodeType | No | Set or rotate the node's type. | |
| isCollapsed | No | ||
| modelProvider | No |