distill_failure
Trace the causal chain of a failed session to extract actionable lessons, persisting only insights that meet a confidence threshold.
Instructions
Distill lessons from a failed session by tracing the causal chain and extracting actionable insights
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": {
"sessionId": "<sessionId>"
},
"name": "distill_failure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | ID of the failed session to analyze | |
| maxCauseChainLength | No | Maximum depth to follow causal chains (default: 5) | |
| minLessonConfidence | No | Minimum confidence required for a lesson to be persisted (default: 0.6) |