dag_task_duration
Measure and compare task durations in a DAG run to pinpoint slow tasks and improve Airflow workflow efficiency.
Instructions
[Tool Role]: Analyzes task durations within a DAG 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": "dag_task_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | Exact DAG identifier, as returned by list_dags; not its display name. | |
| dag_run_id | No | DAG run identifier; omitted or empty selects the latest run. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||