update_flow
Modify a Power Automate flow's properties: display name, state, definition, or connection references. Fetch the flow first to safely edit its definition.
Instructions
Update an existing flow's properties — only the fields you pass (PATCH .../flows/{flow}) [DISABLED: set ENABLE_WRITE_OPS=true].
Parameters: flow (required); any of displayName, definition (full workflow JSON), state (Started|Stopped), connectionReferences; environment (optional).
To edit logic safely: get_flow first, modify the returned definition, then pass the whole definition back here.
Uses Microsoft's unofficial api.flow.microsoft.com endpoint, which Microsoft labels unsupported; behavior may change.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flow | Yes | Flow GUID name (from list_flows). | |
| state | No | New state. | |
| definition | No | Replacement workflow definition JSON. Accepts a JSON object or a JSON string. | |
| displayName | No | New display name. | |
| environment | No | Environment id (from list_environments). Omit to use the user's default environment. | |
| connectionReferences | No | Replacement connection references. Accepts a JSON object or a JSON string. |