list_dags
Retrieve Apache Airflow DAGs using filters, pagination, sorting, and regex matching to find and inspect workflows.
Instructions
List DAGs using Airflow 3.3.1 API filters, pagination and sorting.
*_pattern is case-insensitive substring matching; *_prefix_pattern is case-sensitive. Dates use ISO 8601 with timezone. Lists become repeated query parameters. Prefix order_by fields with '-' for descending order. Unset filters use API defaults. dag_id_regex adds Python regex search (inline flags supported), applied before offset/limit. Regex scans at most 1000 native-filtered candidates; limit=0 returns all matches.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_dags"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| limit | No | ||
| offset | No | ||
| owners | No | ||
| paused | No | ||
| order_by | No | ||
| bundle_name | No | ||
| is_favorite | No | ||
| dag_id_regex | No | ||
| dag_run_state | No | ||
| exclude_stale | No | ||
| bundle_version | No | ||
| dag_id_pattern | No | ||
| timetable_type | No | ||
| tags_match_mode | No | ||
| asset_dependency | No | ||
| has_import_errors | No | ||
| has_asset_schedule | No | ||
| last_dag_run_state | No | ||
| dag_run_end_date_gt | No | ||
| dag_run_end_date_lt | No | ||
| dag_run_end_date_gte | No | ||
| dag_run_end_date_lte | No | ||
| dag_id_prefix_pattern | No | ||
| dag_run_start_date_gt | No | ||
| dag_run_start_date_lt | No | ||
| dag_run_start_date_gte | No | ||
| dag_run_start_date_lte | No | ||
| dag_display_name_pattern | No | ||
| dag_display_name_prefix_pattern | No |