MCP toolsmemory_forget

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

NameTypeRequiredDefaultNotes
factIdstringsee notesId of the fact to archive. Only read when kind is fact.
primitiveIdstringsee notesId of the memory to archive. Required when kind is not fact.
kindstringnofactfact, decision, episode, entity, strategy, workflow, skill, task, event, reasoning or hyperedge.
reasonstringnoWhy. For a fact it is recorded in the audit log, cut to 200 characters.
idempotencyKeystringnoPrevents 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_purge deletes permanently. It needs the memory:hard_delete scope, cannot be undone and is not a GDPR erasure procedure. The GDPR erasure of a person is POST /admin/erasure or mnemo erase, on purpose not an MCP tool. See Security & compliance.