Delete memories
forgetDelete stored memories by exact ID, multiple IDs, or ID prefix from the active store; prefix deletions require confirmation and return removed and missing IDs.
Instructions
Delete memories from the active store by id, ids or id prefix; use remember to update content instead. Inspect prefix matches with list first: prefix deletion requires confirm: true. Returns the deletion count and ids that were absent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | One exact memory id to delete; cannot combine with `prefix`. | |
| ids | No | Exact memory ids to delete in one call; cannot combine with `prefix`. | |
| prefix | No | Delete every id starting with this prefix; use `list` with the same prefix first. | |
| confirm | No | Set true to authorize prefix deletion; exact ids do not need it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deleted | Yes | Number of memories deleted. | |
| missing | Yes | Requested ids that were not present. |