get_workflow_history
Retrieve Temporal workflow execution event history by workflow ID, optionally specifying run ID and event limit for debugging and inspection.
Instructions
Get the event history for a workflow execution.
Args: workflow_id: The workflow ID run_id: Optional run ID (uses latest run if not specified) max_events: Maximum number of events to return (default 100, max 1000)
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": {
"workflow_id": "<workflow_id>"
},
"name": "get_workflow_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | No | ||
| max_events | No | ||
| workflow_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |