airflow_pause_dag
Pause DAG scheduling in Apache Airflow to temporarily stop workflow execution. Use this tool to halt DAG runs by setting is_paused=True and receive a UI link for monitoring.
Instructions
Pause DAG scheduling (sets is_paused=True and returns UI link).
Parameters
instance: Instance key (optional; mutually exclusive with ui_url)
ui_url: Airflow UI URL to resolve instance (optional; takes precedence)
dag_id: DAG identifier (required if ui_url not provided)
Returns
Response dict: { "dag_id": str, "is_paused": true, "ui_url": str, "request_id": str }
Raises: ToolError with compact JSON payload (
code,message,request_id, optionalcontext)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instance | No | ||
| ui_url | No | ||
| dag_id | No |