cancel_flow_run
Cancel an active Power Automate flow run to stop it immediately. Specify the flow and run IDs, optionally with an environment.
Instructions
Cancel an in-progress run (POST .../runs/{run}/cancel) [DISABLED: set ENABLE_WRITE_OPS=true]. Parameters: flow (required), run (required), environment (optional). Uses Microsoft's unofficial api.flow.microsoft.com endpoint, which Microsoft labels unsupported; behavior may change.
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": "<flow>",
"run": "<run>"
},
"name": "cancel_flow_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run | Yes | Run id (from list_flow_runs). | |
| flow | Yes | Flow GUID name (from list_flows). | |
| environment | No | Environment id (from list_environments). Omit to use the user's default environment. |