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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"schedule_id": "<schedule_id>"
},
"name": "get_schedule_by_id"
}
}Input 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}"