trigger-dag-run
Trigger a new DAG run in Amazon MWAA using the DAG ID, with optional configuration and logical date, to start workflow execution on demand.
Instructions
Trigger a new DAG run.
Creates a new DAG run for the specified DAG. Optionally pass configuration
and a logical date.
Requires the --allow-write flag.
Args:
ctx: The MCP context.
environment_name: Name of the MWAA environment.
dag_id: The DAG identifier to trigger.
conf: Optional configuration dict for the DAG run.
logical_date: Optional logical date in ISO 8601 format.
region: AWS region override.
profile_name: AWS CLI profile name override.
Returns:
CallToolResult with the triggered DAG run details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conf | No | Optional JSON configuration to pass to the DAG run. | |
| dag_id | Yes | The DAG ID to trigger. | |
| region | No | AWS region override. | |
| logical_date | No | Optional logical date for the DAG run (ISO 8601 format). | |
| 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. |