Save lesson
save_lessonRecords a lesson learned from a user correction by capturing the situation, mistake, and correct approach. Call immediately after the user corrects your work so the AI can remember and adapt.
Instructions
Record a lesson learned from a correction: what situation, what mistake, what is the correct way. Call immediately after the user corrects your work.
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": {
"situation": "<situation>",
"mistake": "<mistake>",
"correction": "<correction>"
},
"name": "save_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mistake | Yes | What was done wrong | |
| situation | Yes | The original situation/context | |
| correction | Yes | The correct approach |