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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "memory_forget"
}
}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 | |||