list_task_instances
Retrieve task instances for a specific DAG run, showing their states and timings. Optionally filter by task state to focus on failures or other statuses.
Instructions
List task instances in a DAG run, with their states and timings.
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": "list_task_instances"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | The DAG. | |
| dag_run_id | Yes | The run to inspect. | |
| limit | No | Max task instances to return (Airflow caps this at 100). | |
| offset | No | Task instances to skip. | |
| state | No | Filter by task state, e.g. ["failed", "upstream_failed"]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_instances | No | ||
| total_entries | No |