dag_graph
Retrieve the task graph structure for a specified DAG to inspect task dependencies and workflow layout without direct Airflow API calls.
Instructions
[Tool Role]: Retrieves task graph structure for the specified DAG.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dag_id": "<dag_id>"
},
"name": "dag_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | Exact DAG identifier, as returned by list_dags; not its display name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||