get_transition_history
Retrieve detailed transition history, timeline, and statistics for a specific task to monitor and analyze its progress and changes effectively.
Instructions
Retrieves transition history with timeline overview and basic statistics for task context.
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": {
"taskId": "<taskId>"
},
"name": "get_transition_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| taskId | Yes | Task ID for transition history |
Implementation Reference
- The core handler function that implements the get_transition_history tool logic by retrieving the delegation history for a given task ID from the workflow role repository.
getTransitionHistory(taskId: number) { return this.workflowRoleRepository.findDelegationHistory(taskId.toString()); }