get_workflow_history
Retrieve the complete event history for a workflow execution to inspect steps, debug failures, or audit runs. Set limit to control events returned (default 1000).
Instructions
Get the complete event history of a workflow execution. Specify 'limit' to control the number of events (default: 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 |
|---|---|---|---|
| limit | No | Maximum number of history events to return (default: 1000) | |
| run_id | No | Optional run ID for the workflow execution; omit to target the latest run | |
| namespace | No | Temporal namespace for this operation; omit to use the server default | |
| workflow_id | Yes | The workflow execution ID |