List runs
list_runsList a deployed workflow's recent runs, newest first, read on demand from the user's own Cloudflare account. source: history (default) lists completed runs with an executionId, status and duration from the workflow's run log; it is empty until something has actually run. source: instances lists durable runs with an instanceId, including ones still queued, waiting or paused, and can filter by status. Pass the returned cursor back to get the next page. Open one run with get_run.
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": {
"workflowId": "<workflowId>"
},
"name": "list_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Runs per page, 1-100. Default 20. | |
| order | No | Only with source `history`. Default newest; oldest pages through all retained history. | |
| cursor | No | The cursor from the previous page, with the same source and order. | |
| source | No | `history` (default): the run log. `instances`: durable runs and their state. | |
| status | No | Only with source `instances`: return runs in this state. | |
| workflowId | Yes | The workflow's id, from list_workflows or create_workflow. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | No | ||
| cursor | No | ||
| source | Yes | ||
| nextTool | No | ||
| instances | No | ||
| truncated | No |