lesson_reinforce
Reinforce a stored lesson when the same pattern recurs, boosting its confidence by 0.15 and unarchiving decayed lessons to keep relevant memory active.
Instructions
Reinforce an existing lesson when the same pattern is observed again. Increases confidence by 0.15, capped at 1.0. Unarchives lessons that had decayed below the threshold. Call this when a lesson recalled via lesson_recall proves relevant to the current task, or when the same mistake recurs. Returns the updated lesson with its new confidence score.
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": {
"id": "<id>"
},
"name": "lesson_reinforce"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The lesson ID returned by lesson_save or lesson_recall. |