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)
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": "airflow_get_dag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | No | ||
| ui_url | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||