get_all_workflows
Retrieve a comprehensive list of all workflows within the Alteryx server using the AYX-MCP-Wrapper to streamline workflow management and integration.
Instructions
Get the list of all workflows of the Alteryx server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.py:142-149 (handler)The main handler implementation that calls the Alteryx API to retrieve all workflows and returns a formatted pprint of the response or an error message.def get_all_workflows(self): """Get the list of all workflows of the Alteryx server""" try: api_response = self.workflows_api.workflows_get_workflows() return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
- src/mcp_server.py:167-170 (registration)The FastMCP tool registration decorator and wrapper function that delegates execution to the AYXMCPTools instance's get_all_workflows method.@self.app.tool() def get_all_workflows(): """Get the list of all workflows of the Alteryx server""" return self.tools.get_all_workflows()