deprecate_learning
Soft-retire a stale or incorrect lesson so it stops being recalled while retaining a reversible breadcrumb. Record why and optionally link the lesson that replaces it.
Instructions
Soft-retire a lesson: it stops being recalled, but is kept with a breadcrumb.
The right tool when a lesson turned out to be wrong or went stale — reversible, and
preferable to leaving it firing at a lower weight. ``reason`` records why; ``superseded_by``
points at the lesson that replaces it (omit when nothing does). Retired lessons are visible
again via ``lessons(..., include_retired=True)`` and revivable with ``restore_learning``.
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": {
"learning_id": "<learning_id>"
},
"name": "deprecate_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | ||
| learning_id | Yes | ||
| superseded_by | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |