update_flow
Update a flow or subflow's metadata—activate/deactivate, rename, change description or run-as—without altering its steps.
Instructions
Update a flow or subflow's METADATA only (activate/deactivate, name, description, run-as). [Write] NOTE: this cannot safely insert or edit flow STEPS. Flow Designer executes a compiled snapshot, and writing action-instance rows over REST does not recompile the flow, which would desync/corrupt it. Edit steps in the Flow Designer UI.
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_sys_id": "<flow_sys_id>"
},
"name": "update_flow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name | |
| type | No | Type: flow or subflow (default flow) | |
| active | No | Activate (true) or deactivate (false) | |
| run_as | No | run_as value (e.g. user_who_triggers, system_user) | |
| description | No | New description | |
| flow_sys_id | Yes | Flow or subflow sys_id |