get-dag
Retrieve detailed information for a specific Airflow DAG in Amazon MWAA, including schedule, owners, tags, and configuration.
Instructions
Get details of a specific DAG.
Returns detailed information about a DAG including its schedule, owners,
tags, and configuration.
Args:
ctx: The MCP context.
environment_name: Name of the MWAA environment.
dag_id: The DAG identifier.
region: AWS region override.
profile_name: AWS CLI profile name override.
Returns:
CallToolResult with DAG details.
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": "get-dag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | The DAG ID to retrieve. | |
| region | No | AWS region override. | |
| profile_name | No | AWS CLI profile name override. | |
| environment_name | No | Name of the MWAA environment. If omitted and only one environment exists, it is used automatically. |