get_all_schedules
Retrieve all workflow schedules from the Alteryx server using the AYX-MCP-Wrapper. Streamline schedule management and access comprehensive scheduling data with this tool.
Instructions
Get the list of all schedules of the Alteryx server
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.py:589-595 (handler)The core handler function that retrieves all schedules from the Alteryx server API using schedules_api.schedules_get_schedules() and returns a pretty-formatted response or error.def get_all_schedules(self): """Get the list of all schedules of the Alteryx server""" try: api_response = self.schedules_api.schedules_get_schedules() return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"
- src/mcp_server.py:304-307 (registration)MCP tool registration using @self.app.tool() decorator. This wrapper function delegates the call to the underlying tools instance's get_all_schedules method.@self.app.tool() def get_all_schedules(): """Get the list of all schedules of the Alteryx server""" return self.tools.get_all_schedules()