Memory Forget
memory_forgetDelete stored memory chunks by explicit IDs or by agent/source filters, with dry-run defaults and count checks to prevent accidental bulk removal.
Instructions
Delete memory chunks by explicit ids or by agent/source filter.
Deletion is irreversible, so there are two safety catches: dry_run is on by default, and deleting by filter requires expect_count equal to the number of matches, so an over-broad filter cannot wipe the collection by mistake. A call with no ids and no filters is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | specific chunks (memory_search returns ids) | |
| dry_run | No | True (default) only reports what would be deleted | |
| agent_filter | No | everything from this agent | |
| expect_count | No | required for filter deletes with dry_run=False | |
| source_filter | No | everything from this source |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||