trigger_dag
Starts a new run for an Airflow DAG using its exact DAG identifier, enabling on-demand pipeline execution through MCP.
Instructions
[Tool Role]: Triggers a new DAG run for a specified Airflow 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": "trigger_dag"
}
}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 | |||