get_dag_run_status
Retrieve the latest run state, execution date, and duration for a specific Airflow DAG using its ID.
Instructions
Get the latest run status for a specific DAG.
Args:
dag_id: The DAG identifier.
Returns the state, execution date, and duration of the most recent 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": {
"dag_id": "<dag_id>"
},
"name": "get_dag_run_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |