Skip to main content
Glama
yangkyeongmo

MCP Server for Apache Airflow

by yangkyeongmo

delete_dag_dataset_queued_events

Remove queued Dataset events for a specific DAG in Apache Airflow to manage and streamline event processing efficiently.

Instructions

Delete queued Dataset events for a DAG

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
beforeNo
dag_idYes

Implementation Reference

  • The main asynchronous handler function implementing the tool logic. It accepts a dag_id and optional 'before' timestamp, constructs kwargs, calls the underlying Airflow DatasetApi.delete_dag_dataset_queued_events, and returns the response as TextContent.
    async def delete_dag_dataset_queued_events( dag_id: str, before: Optional[str] = None, ) -> List[Union[types.TextContent, types.ImageContent, types.EmbeddedResource]]: kwargs: Dict[str, Any] = {} if before is not None: kwargs["before"] = before response = dataset_api.delete_dag_dataset_queued_events(dag_id=dag_id, **kwargs) return [types.TextContent(type="text", text=str(response.to_dict()))]
  • Registration entry in the get_all_functions() list, associating the handler function with its name, description, and mutability flag (False indicating it mutates data).
    ( delete_dag_dataset_queued_events, "delete_dag_dataset_queued_events", "Delete queued Dataset events for a DAG", False, ),

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/yangkyeongmo/mcp-server-apache-airflow'

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