List workflow runs
list_runsList a workflow's past runs, most-recent-first, by workflow id; or, with chain_id, one chain's runs in link order (a chain is a long job run as successive runs of one workflow; its id is the run_id of its first run). Optionally filter by status (succeeded, failed, running, cancelled). Returns run summaries (run_id, status, message, timestamps, and chain for a run in a chain: its link_index and whether it continues, false once the chain has finished); use get_workflow_run for a run's output or get_workflow_run_traces for per-step detail.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | optional status filter: succeeded, failed, running, or cancelled; omit for all | |
| chain_id | No | list one chain's runs instead, in link order: the chain id is the run_id of its first run | |
| page_size | No | maximum number of runs to return in this page | |
| page_token | No | token from a previous response's next_page_token to fetch the next page | |
| workflow_id | No | the workflow id whose runs to list (most recent first); required unless chain_id is given |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runs | Yes | ||
| next_page_token | No |