memory_forget
A soft delete. It closes the memory’s valid time, so recall no longer returns it, and keeps its audit history. It works on facts and on the other kinds of memory.
Arguments
| Name | Type | Required | Default | Notes |
|---|---|---|---|---|
factId | string | see notes | Id of the fact to archive. Only read when kind is fact. | |
primitiveId | string | see notes | Id of the memory to archive. Required when kind is not fact. | |
kind | string | no | fact | fact, decision, episode, entity, strategy, workflow, skill, task, event, reasoning or hyperedge. |
reason | string | no | Why. For a fact it is recorded in the audit log, cut to 200 characters. | |
idempotencyKey | string | no | Prevents archiving twice when the call is retried. |
Pass factId or primitiveId. With neither, the tool returns an error.
Example
{
"name": "memory_forget",
"arguments": {
"factId": "<fact id>",
"reason": "Acme switched its support contact to English"
}
}Returns
{
"id": "<fact id>",
"kind": "fact",
"forgotten": true,
"reason": "Acme switched its support contact to English"
}When reason is omitted, the response carries "reason": "mcp_forget".
Restore and permanent deletion
- A forgotten fact can be restored with
POST /facts/{id}/restore. There is no MCP tool for it. - To correct a fact instead of removing it, use
memory_update. memory_purgedeletes permanently. It needs thememory:hard_deletescope, cannot be undone and is not a GDPR erasure procedure. The GDPR erasure of a person isPOST /admin/erasureormnemo erase, on purpose not an MCP tool. See Security & compliance.