Delete a memory
memory_forgetDeletes one memory permanently, by id. The delete cannot be undone and leaves no copy: for a private memory the key that opens it goes with the row. For a fact that changed, memory_write with supersedes keeps the history instead. reason is recorded with the deletion. dry_run true lists what would go and deletes nothing. In a company workspace, forgetting a shared company row hands each author's notes back to them as their own. The tool appears only for a credential granted mayDelete.
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>",
"reason": "<reason>"
},
"name": "memory_forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | id of the memory to delete, as returned by memory_search or memory_write. | |
| reason | Yes | Why it is being deleted, recorded with the deletion. Required: a delete with no reason is indistinguishable from a mistake a month later. | |
| dry_run | No | true lists what would go and deletes nothing, so the person can see the exact memory before a delete removes it. A delete on an instruction that did not name this exact memory can remove the wrong one, and nothing restores it. |