save_lesson
Records an engineering lesson in a project knowledge file and promotes high-confidence verified lessons to a global knowledge base for reuse.
Instructions
Record an engineering lesson in /.assetrag/knowledge.md; high-confidence verified ones are promoted globally.
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": {
"title": "<title>",
"category": "<category>",
"solution": "<solution>"
},
"name": "save_lesson"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| category | Yes | ||
| evidence | No | ||
| solution | Yes | ||
| symptoms | No | ||
| versions | No | ||
| framework | No | ||
| confidence | No | medium | |
| prevention | No | ||
| root_cause | No | ||
| limitations | No | ||
| project_dir | No |