airflow_get_dag
Retrieve details of an Apache Airflow DAG along with a direct link to its UI, using DAG ID and instance or UI URL.
Instructions
Get DAG details and a UI link.
Parameters
instance | ui_url: Provide one;
ui_urlauto-resolves/validates the host.dag_id: Required when only
instanceis supplied.
Returns
Response dict: { "dag": object, "ui_url": str, "request_id": str }
Raises: ToolError with compact JSON payload (
code,message,request_id, optionalcontext)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | No | ||
| ui_url | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||