list_flow_runs
List recent runs of a Power Automate flow, newest first, with status, start time, duration, and error details. Filter by status to find failures or monitor execution history.
Instructions
List recent runs of a flow, newest first.
Returns: array of { name, status, startTime, endTime, durationMs, triggerName, error }. name is the run id used by get_flow_run.
Parameters: flow (required), environment (optional), top (optional, default 20, max 100), status (optional: Succeeded/Failed/Running/Cancelled).
Uses Microsoft's unofficial api.flow.microsoft.com endpoint, which Microsoft labels unsupported; behavior may change.
Example: list_flow_runs { "flow": "", "status": "Failed", "top": 10 }
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>"
},
"name": "list_flow_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Max runs to return (default 20, max 100). | |
| flow | Yes | Flow GUID name (from list_flows). | |
| status | No | Filter by run status. | |
| environment | No | Environment id (from list_environments). Omit to use the user's default environment. |