get-dag-status
Retrieve the status of a specific Airflow DAG's runs, with optional filters for state and execution dates, plus ordering and pagination.
Instructions
Get the status of a specific DAG's runs
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": {
"dag_id": "<dag_id>"
},
"name": "get-dag-status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of runs to return | |
| state | No | Filter by state (success, running, failed, etc.) | |
| dag_id | Yes | ||
| offset | No | Number of runs to skip | |
| 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 |