get-import-errors
Identify DAG import errors in an MWAA environment to troubleshoot why DAGs are missing or broken.
Instructions
Get DAG import errors in an MWAA environment.
Returns a list of import/parsing errors for DAG files. Useful for diagnosing
why DAGs are not appearing or are broken.
Args:
ctx: The MCP context.
environment_name: Name of the MWAA environment.
region: AWS region override.
profile_name: AWS CLI profile name override.
Returns:
CallToolResult with import errors.
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": "get-import-errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. |