forget tool ¶Deletes a memory. Soft-delete by default (the row stays but is
hidden from recall/list_memories/text_search and
becomes a tombstone that the dedup-on-write check consults). Pass
hard_delete=true to drop the row entirely.
idRequired integer. The memory’s id.
hard_deleteBoolean. Optional, default false. When true, the row is removed from the database completely.
reasonString. Optional. Free-text reason recorded as forget_reason.
Rejected with INVALID_INPUT if hard_delete=true (a hard
delete has no row to attach the reason to).
replaced_by_idInteger. Optional. Id of the memory that supersedes this one. Same
restriction as reason: not allowed with hard_delete.
{
"ok": true,
"memory_id": 123,
"message": "Forgotten"
}
INVALID_INPUT, NOT_FOUND, DATABASE_ERROR.