Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
dag_idYes
envNo

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/SrujanReddyKallu2024/MCP'

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