archive_learning
Archive outdated or irrelevant learnings to remove them from recall and search results while preserving an audit trail with timestamp and optional reason.
Instructions
Archives a learning (scar/win/pattern) by setting is_active=false and recording archived_at timestamp. Archived learnings are excluded from recall and search results but preserved for audit trail.
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": {
"id": "<id>"
},
"name": "archive_learning"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | UUID or short ID prefix of the learning to archive (e.g., the 8-char prefix shown by recall/search) | |
| reason | No | Optional reason for archiving (e.g., 'superseded by PROJ-123', 'no longer relevant') |