explore_dag
Retrieve comprehensive details of any Airflow DAG in one call, including metadata, tasks, dependencies, source code, and errors. Ideal for understanding DAG structure and diagnosing issues without multiple API requests.
Instructions
Comprehensive investigation of a DAG - get all relevant info in one call.
USE THIS TOOL WHEN you need to understand a DAG completely. Instead of making multiple calls, this returns everything about a DAG in a single response.
This is the preferred first tool when:
User asks "Tell me about DAG X" or "What is this DAG?"
You need to understand a DAG's structure before diagnosing issues
You want to know the schedule, tasks, and source code together
Returns combined data:
DAG metadata (schedule, owners, tags, paused status)
All tasks with their operators and dependencies
DAG source code
Any import errors or warnings for this DAG
Args: dag_id: The ID of the DAG to explore
Returns: JSON with comprehensive DAG information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |