Skip to main content
Glama
astronomer

astro-airflow-mcp

Official
by astronomer

pause_dag

Pause a DAG in Apache Airflow to prevent new scheduled runs from starting while allowing current tasks to complete and manual triggers to function.

Instructions

Pause a DAG to prevent new scheduled runs from starting.

Use this tool when the user asks to:

  • "Pause DAG X" or "Stop DAG Y from running"

  • "Disable DAG Z" or "Prevent new runs of DAG X"

  • "Turn off DAG scheduling" or "Suspend DAG execution"

When a DAG is paused:

  • No new scheduled runs will be created

  • Currently running tasks will complete

  • Manual triggers are still possible

  • The DAG remains visible in the UI with a paused indicator

IMPORTANT: This is a write operation that modifies Airflow state. The DAG will remain paused until explicitly unpaused.

Args: dag_id: The ID of the DAG to pause (e.g., "example_dag")

Returns: JSON with updated DAG details showing is_paused=True

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/astronomer/astro-airflow-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server