memory_forget
Permanently delete unwanted entries from memory, facts, world, or lessons. Clean up junk or test data by scope, with no audit trail.
Instructions
Hard-delete from one memory store. Cleanup for junk/test data — no
audit trail. For "now wrong, keep history" use memory_fact_set
(facts) or memory_supersede (memories) instead.
Scopes:
memory: entries matching text / substring / source
/ episode / tag (at least one; filters OR-combine —
ANY match deletes, unlike memory_search's AND).
fact: canonical slots — entity required; omit
attribute to purge the whole entity.
world: world facts — entity (+ optional attribute).
lesson: pass the task as entity, the aspect as
attribute.
Returns: {deleted_count | removed, ...}; {error} on bad input.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | ||
| text | No | ||
| scope | Yes | ||
| entity | No | ||
| source | No | ||
| episode | No | ||
| attribute | No | ||
| substring | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||