get_schedule_by_id
Retrieve specific schedule details using a unique schedule ID from Alteryx Server for workflow automation management.
Instructions
Get a schedule by its ID
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedule_id | Yes |
Implementation Reference
- src/mcp_server.py:309-312 (handler)MCP server tool handler for 'get_schedule_by_id' that delegates execution to the tools instance method.@self.app.tool() def get_schedule_by_id(schedule_id: str): """Get a schedule by its ID""" return self.tools.get_schedule_by_id(schedule_id)
- src/tools.py:597-603 (helper)Core implementation of get_schedule_by_id that fetches the schedule from the Alteryx server API using schedules_api and formats the response with pprint.def get_schedule_by_id(self, schedule_id: str): """Get a schedule by its ID""" try: api_response = self.schedules_api.schedules_get_schedule(schedule_id) return pprint.pformat(api_response) except ApiException as e: return f"Error: {e}"