brain_forget
Remove or deprecate outdated memories from Local Brain by ID, file path, or search query. Deprecates by default for audit trail; hard delete purges permanently.
Instructions
Remove or deprecate specific memories from Local Brain. Can target a memory by ID, file path, or search query. By default deprecates the memory to maintain audit trail; pass hard_delete: true to purge.
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": "brain_forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Exact memory ID to forget. | |
| query | No | Forget memories matching this text/topic. | |
| file_path | No | Forget all memories associated with this file path. | |
| memory_id | No | Alias for id. | |
| hard_delete | No | If true, permanently deletes records from SQLite. Default is false (marks deprecated). |