Skip to main content
Glama

remove_schedule_from_collection

Remove a specific schedule from a collection by providing the collection ID and schedule ID to manage workflow automation efficiently.

Instructions

Remove a schedule from a collection by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYes
schedule_idYes

Implementation Reference

  • The primary handler function executing the tool logic: validates collection and schedule existence, then calls the Alteryx collections API to remove the schedule from the collection.
    def remove_schedule_from_collection(self, collection_id: str, schedule_id: str): """Remove a schedule from a collection by its ID""" try: collection = self.collections_api.collections_get_collection(collection_id) if not collection: return "Error: Collection not found" schedule = self.schedules_api.schedules_get_schedule(schedule_id) if not schedule: return "Error: Schedule not found" api_response = self.collections_api.collections_remove_schedule_from_collection(collection_id, schedule_id) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
  • MCP tool registration decorator and wrapper function that delegates execution to the tools instance's handler.
    @self.app.tool() def remove_schedule_from_collection(collection_id: str, schedule_id: str): """Remove a schedule from a collection by its ID""" return self.tools.remove_schedule_from_collection(collection_id, schedule_id)
  • Tool name and description in the system prompt for the MCP server.
    - remove_schedule_from_collection: Remove a schedule from a collection

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/jupiterbak/AYX-MCP-Wrapper'

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