deprecate_memory
Archive an obsolete active or stale memory by ID without deleting its audit history, marking it archived and excluding it from recall while keeping it inspectable.
Instructions
Archive an obsolete active or stale memory by ID without deleting its historical audit record. Transitions status to 'archived', sets the valid_to timestamp, logs the deprecation reason in the scope changelog, and updates Markdown exports. Archived records are excluded from recall_memories but remain permanently inspectable via recall_history. Use deprecate_memory when a fact or rule no longer applies and has no replacement; use save_memory instead to overwrite an outdated fact with a new value, or revalidate_memories if a [STALE] memory is still accurate.
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": {
"memory_id": "<memory_id>"
},
"name": "deprecate_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Reason for deprecating the memory (e.g., 'replaced by microservice', 'obsolete config'). | |
| memory_id | Yes | Integer ID of the active or stale memory to retire/archive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |