airflow_pause_dag
Pause a DAG to stop its schedule. Returns a link to the DAG UI for confirmation.
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)
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "airflow_pause_dag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dag_id | No | ||
| ui_url | No | ||
| instance | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||