trigger_dag_run
Initiate workflow execution in Amazon MWAA by starting a new DAG run with optional configuration and custom run ID.
Instructions
Trigger a new DAG run.
Args: environment_name: Name of the MWAA environment dag_id: The DAG ID to trigger dag_run_id: Custom run ID (optional, will be auto-generated if not provided) conf: Configuration JSON for the DAG run note: Optional note for the DAG run
Returns: Dictionary containing the created DAG run 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": {
"environment_name": "<environment_name>",
"dag_id": "<dag_id>"
},
"name": "trigger_dag_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment_name | Yes | ||
| dag_id | Yes | ||
| dag_run_id | No | ||
| conf | No | ||
| note | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||