pause_dag
Pause a DAG to prevent future scheduled runs from triggering while allowing current runs to complete. Specify the DAG ID and target environment for controlled workflow management.
Instructions
Pause a DAG — prevents future scheduled runs from triggering.
The DAG will still be visible in the Airflow UI but won't execute on its schedule. Already-running DAG runs will continue to completion.
Args: dag_id: The DAG to pause. env: Target environment — 'dev', 'uat', 'test', or 'prod'. IMPORTANT: Do NOT guess or default. Ask the user which environment if not specified.
Returns confirmation of the pause action.
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": "pause_dag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| env | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |