forget
Archive or un-archive a memory to remove it from search results or restore it. Use with explicit user confirmation and provide a reason when archiving.
Instructions
Archive or un-archive a memory. Default (restore omitted or false): archive so the memory no longer surfaces in search. Set restore=true to un-archive — obtain the ID from audit(mode=archived). When archiving, always provide a reason — recorded in the audit log. Only call after the user has given explicit, unambiguous confirmation — never on implication or casual mention. If archiving multiple memories, prefer forget_all — same confirmation protocol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the memory to archive or un-archive | |
| reason | No | Required when archiving (when the unarchive flag is false). Why this memory is being archived | |
| restore | No | When true, un-archive the memory so it surfaces in search again. When false or omitted, archive the memory. |