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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | Yes | ||
| env | No |