get_dag_run_details
Retrieve comprehensive details for a specific Airflow DAG run, including all task instances with their execution status, durations, and failure hints for troubleshooting.
Instructions
Get full details for a specific DAG run, including every task instance.
Use this to see ALL tasks in a DAG run with their pass/fail status. For any failed tasks, the output includes ready-to-use get_task_log() hints. Common DAG task flow: start → create_arguments → check_inputs → initialise (creates EMR app) → processing → finalise.
Args: dag_id: The DAG identifier. dag_run_id: The run ID (e.g. 'scheduled__2026-02-16T00:00:00+00:00' or 'manual__...'). env: Target environment — 'dev', 'uat', 'test', or 'prod'. IMPORTANT: Do NOT guess or default. Ask the user which environment if not specified.
Returns formatted output showing each task with state, duration and try count.
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>",
"dag_run_id": "<dag_run_id>"
},
"name": "get_dag_run_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| dag_run_id | Yes | ||
| env | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |