List workflow runs
list_workflow_runsUse this when the user wants to list executions of a durable workflow in CronCool, with optional workflow-name and status filters. Returns each run's id, workflow name, status, timings and error code, newest first by default, 20 per page with a cursor, filterable by workflow and status. Not for one run's steps.
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": {
"projectId": "<projectId>"
},
"name": "list_workflow_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | newest (default) or oldest first | |
| limit | No | Runs per page, from 1 to 100; defaults to 20 | |
| cursor | No | The nextCursor of the previous page with the same project, workflow, status and sort; absent for the first page | |
| status | No | Only runs in this status: pending, running, completed, failed or cancelled | |
| projectId | Yes | Project id | |
| workflowName | No | Only runs of this workflow name |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | Run identity, status, timings and machine error code. Workflow inputs, outputs and error messages are excluded. | |
| hasMore | Yes | ||
| nextCursor | Yes | Cursor for the next page with the same filters; null on the last page |