get_run_status
Check the current status and details of a specific workflow run by providing its run ID to monitor execution progress.
Instructions
Get the current status of a specific workflow run.
Args: run_id: The ID of the workflow run
Returns the run's current status and details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes |
Implementation Reference
- src/hatchet_mcp/server.py:127-143 (handler)The get_run_status tool handler, registered with @mcp.tool(), fetches and serializes the status of a Hatchet workflow run.
@mcp.tool() async def get_run_status(run_id: str) -> dict: """ Get the current status of a specific workflow run. Args: run_id: The ID of the workflow run Returns the run's current status and details. """ try: hatchet = get_hatchet_client() status = await hatchet.runs.aio_get(run_id) return _serialize_run(status) except Exception as e: return {"error": str(e), "run_id": run_id}