Skip to main content
Glama

remove_workflow_from_collection

Remove a workflow from an Alteryx collection using workflow and collection IDs to manage workflow organization.

Instructions

Remove a workflow from a collection by its ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
collection_idYes
workflow_idYes

Implementation Reference

  • Core implementation of the remove_workflow_from_collection tool. Validates existence of collection and workflow, then calls the Alteryx collections API to remove the workflow from the collection.
    def remove_workflow_from_collection(self, collection_id: str, workflow_id: str): """Remove a workflow from a collection by its ID""" try: collection = self.collections_api.collections_get_collection(collection_id) if not collection: return "Error: Collection not found" workflow = self.workflows_api.workflows_get_workflow(workflow_id) if not workflow: return "Error: Workflow not found" api_response = self.collections_api.collections_remove_workflow_from_collection(collection_id, workflow_id) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
  • MCP server tool registration. Decorated with @self.app.tool() and delegates execution to the AYXMCPTools instance.
    @self.app.tool() def remove_workflow_from_collection(collection_id: str, workflow_id: str): """Remove a workflow from a collection by its ID""" return self.tools.remove_workflow_from_collection(collection_id, workflow_id)

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