list_tasks
Retrieve all tasks and their configurations from a specific Apache Airflow DAG to understand workflow structure and dependencies.
Instructions
Get all tasks defined in a specific DAG.
Use this tool when the user asks about:
"What tasks are in DAG X?" or "List all tasks for DAG Y"
"Show me the tasks in this workflow" or "What's in the DAG?"
"What are the steps in DAG Z?" or "Show me the task structure"
"What does this DAG do?" or "Explain the workflow steps"
Returns information about all tasks in the DAG including:
task_id: Unique identifier for the task
task_display_name: Human-readable display name
owner: Who owns this task
operator_name: Type of operator (PythonOperator, BashOperator, etc.)
start_date: When this task becomes active
end_date: When this task becomes inactive (if set)
trigger_rule: When this task should run
retries: Number of retry attempts
pool: Resource pool assignment
downstream_task_ids: List of tasks that depend on this task
upstream_task_ids: List of tasks this task depends on
Args: dag_id: The ID of the DAG to list tasks for
Returns: JSON with list of all tasks in the DAG and their configurations
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes |