Forget memory
forgetPermanently delete one memory by UUID. When to use: user asks to remove outdated or incorrect context, or to free plan storage. When NOT: fix content → update (mode=replace); find the ID first → list_memories or recall. Requires delete OAuth scope. Non-idempotent: deleting the same memory_id twice fails. Errors: Memory not found, Not authorized to delete this memory. Side effects: removes the memory row and vector embedding with no recovery; invalidates plan cache. The target workspace is always the one the memory itself belongs to (echoed in resolved_workspace); optionally pass workspace: as a safety confirmation — the call fails if the memory is not actually in that workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_id | Yes | UUID of the memory to delete. Copy from the id field in list_memories or recall. Must be deletable by the authenticated user. | |
| workspace | No | To operate on a team workspace, pass its exact name, slug, or ID (e.g. "Acme"). Omit — or pass "personal" — for your personal memory (default). Every response echoes resolved_workspace so you can confirm where the operation actually happened. Call list_collections when unsure of the exact workspace name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | True when deletion succeeded. | |
| message | Yes | Human-readable confirmation (same as content text). | |
| memory_id | Yes | UUID of the deleted memory. | |
| resolved_workspace | No | The workspace this call actually operated on (defense against writing to the wrong team by typo or name collision). id=null means Personal. |