lessons
Recall distilled decisions, mistakes with corrections, and how-tos learned before, ranked by relevance, importance, and recency with citations; filter by type or include retired entries.
Instructions
Recall distilled lessons — decisions, mistakes+corrections, how-tos learned before.
Higher-signal than raw chat recall: ranked by relevance × importance × recency, each with
citations. ``type`` filters ``decision`` | ``mistake`` | ``howto``. ``include_retired`` also
returns deprecated/superseded lessons (hidden by default) with their ``deprecated_reason``
and ``superseded_by`` breadcrumb — use it to check *why* something was retired.
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": {
"text": "<text>"
},
"name": "lessons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | ||
| text | Yes | ||
| type | No | ||
| include_retired | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |