record_lesson
Save coding lessons with category, summary, evidence, and tags. Persist learned insights to avoid repeating mistakes and maintain conventions.
Instructions
Record a lesson into the persistent store. Returns the new lesson.
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": {
"category": "<category>",
"summary": "<summary>"
},
"name": "record_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Comma-separated tags (no spaces within tags). e.g. 'python,async,timeout'. | |
| summary | Yes | One-line atomic takeaway. Prefers the form 'In <context>, do/avoid X because Y'. Target: ~80 chars. | |
| category | Yes | Lesson category: bug, style, perf, convention, debt, risky, win. | |
| evidence | No | Optional file:line or short quote that triggered the lesson. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||