dag_run_duration
Analyze recent run durations for a specified Airflow DAG to identify performance trends and compare execution times.
Instructions
[Tool Role]: Analyzes DAG run durations and performance metrics.
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_run_duration"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of recent DAG runs to analyze (default: 10). | |
| dag_id | Yes | Exact DAG identifier, as returned by list_dags; not its display name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||