update_flow
Modify a specific Node-RED flow by ID via PUT, replacing its label, nodes, and optional configs while leaving all other flows unchanged.
Instructions
Update a specific flow by ID using PUT /flow/:id. Only affects the specified flow, leaving all other flows untouched. Requires flow object with id, label, nodes array, and optional configs array.
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": {
"flowId": "<flowId>",
"updates": "<updates>"
},
"name": "update_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | ID of the flow to update | |
| updates | Yes | JSON string containing flow update with format: {id, label, nodes: [], configs: []} |