Airflow Operations
Use the Airflow VS Code extension tools for all Airflow interactions. Avoid shell commands for Airflow operations.
Tool Quick Reference
| Tool | Purpose |
|---|---|
list_active_dags | List active (unpaused) DAGs |
list_paused_dags | List paused DAGs |
get_running_dags | Show running or queued DAG runs |
pause_dag | Pause a DAG |
unpause_dag | Unpause a DAG |
trigger_dag_run | Trigger a DAG run |
get_dag_runs | List DAG runs for a DAG |
get_dag_history | Daily run history for a DAG |
get_failed_runs | Failed runs across DAGs |
analyse_dag_latest_run | Full analysis of latest run (tasks, logs, source) |
get_dag_run_detail | Full analysis of a specific run |
get_dag_source_code | Retrieve DAG source code |
go_to_dag_view | Open DAG view panel |
go_to_dag_log_view | Open log view panel |
go_to_connections_view | Open connections panel |
go_to_variables_view | Open variables panel |
go_to_providers_view | Open providers panel |
go_to_configs_view | Open configs panel |
go_to_plugins_view | Open plugins panel |
go_to_server_health_view | Open server health panel |
User Intent Patterns
DAG Operations
- •"List all DAGs" ->
list_active_dagsandlist_paused_dags - •"Show DAG source" ->
get_dag_source_code - •"Pause DAG X" ->
pause_dag - •"Resume DAG X" ->
unpause_dag
Run Operations
- •"Trigger DAG X" ->
trigger_dag_run - •"Show recent runs" ->
get_dag_runs - •"Why did this fail?" ->
analyse_dag_latest_runorget_dag_run_detail
Logs and Troubleshooting
- •"Show logs for task" ->
go_to_dag_log_vieworanalyse_dag_latest_run - •"Analyze latest run" ->
analyse_dag_latest_run
System and Config
- •"Show connections" ->
go_to_connections_view - •"Show variables" ->
go_to_variables_view - •"Check server health" ->
go_to_server_health_view
Common Workflows
Investigate a Failed Run
- •Find failures:
get_failed_runs - •Analyze latest run:
analyse_dag_latest_run - •If a specific run ID is known:
get_dag_run_detail - •Open logs if needed:
go_to_dag_log_view
Trigger and Monitor
- •Trigger:
trigger_dag_run - •Check status:
get_dag_runs - •Analyze if failed:
analyse_dag_latest_run
Morning Health Check
- •Check server health:
go_to_server_health_view - •Check running DAGs:
get_running_dags - •Review recent failures:
get_failed_runs