Update nodes
update_nodesChange the label, type, owner, note, or status of existing nodes in a Wavelength flow, by node id. No AI call. Saves a versioned snapshot labeled 'Edited by AI agent (exact)'. Returns the applied count, a rejected list with reasons, node and edge counts, and a link to open it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"flow_id": "<flow_id>",
"items": "<items>"
},
"name": "update_nodes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | The items to apply, in order. | |
| flow_id | Yes | The id of the flow to edit. |