dag_task_duration
Analyze task durations in an Airflow DAG run to identify slow-running tasks, spot bottlenecks, and optimize workflow performance.
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 | ||
| dag_run_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||