Delete a memory (soft)
memory_deleteSoft-delete a memory by ID to hide it from searches and lists while retaining it for audit. Use for accidental or obsolete memories. Idempotent; does not permanently remove data.
Instructions
Soft-delete a memory by id — the row is hidden from search/list/get but retained for audit. Idempotent. Use for accidental or obsolete memories. To replace one with a corrected version, prefer memory_store(supersedes_id=...) so history is linked.
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": "memory_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | Yes | Id of the memory to soft-delete (e.g. `mem_01HXYZ...`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| message | Yes | `Memory <id> deleted.` on success, `Memory <id> not found.` when the id is missing. |