update_flows
Apply a deployment type to all Node-RED flows. Input the flow configuration JSON to deploy with full, nodes, flows, or reload.
Instructions
Update all flows with deployment type.
Args: flows_json: Flow configuration as JSON string deployment_type: Deployment type - valid values: full, nodes, flows, reload (default: full)
Returns: Confirmation message.
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": {
"flows_json": "<flows_json>"
},
"name": "update_flows"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flows_json | Yes | ||
| deployment_type | No | full |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |