list-dag-runs
Retrieve and filter Apache Airflow DAG runs in batches by DAG ID, state, and execution date range, with pagination and ordering controls.
Instructions
Get DAG runs in batch
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-dag-runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of records to return per DAG | |
| offset | No | Number of records to skip | |
| states | No | List of states to filter | |
| dag_ids | No | List of DAG IDs to query, if None get all dags from list-dag-runs tool | |
| order_by | No | Field to order by (e.g. -start_date, start_date) | -start_date |
| execution_date_gte | No | Start date in YYYY-MM-DD format, timezone is Asia/Shanghai | |
| execution_date_lte | No | End date in YYYY-MM-DD format, timezone is Asia/Shanghai |