get_all_collections
Retrieve all collections from an Alteryx server to manage and organize workflows, users, and schedules through the AYX-MCP-Wrapper interface.
Instructions
Get the list of all collections of the Alteryx server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.py:33-39 (handler)Core handler logic for get_all_collections tool: calls Alteryx collections_api to retrieve all collections and formats the response using pprint.pformat, with error handling.def get_all_collections(self): """Get the list of all collections of the Alteryx server""" try: api_response = self.collections_api.collections_get_collections() return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
- src/mcp_server.py:121-124 (registration)MCP tool registration and wrapper handler for get_all_collections using FastMCP @app.tool decorator, delegates to AYXMCPTools instance.@self.app.tool() def get_all_collections(): """Get the list of all collections of the Alteryx server""" return self.tools.get_all_collections()