forget
Remove indexed code memories by ID, type, tags, or age. Delete outdated or irrelevant semantic search results to keep your codebase clean.
Instructions
DESTRUCTIVE: Remove memories matching specified criteria.
Delete by: memory_id, memory_type, tags, older_than (1d, 7d, 30d, 1y)
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": "forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Codebase path for auto-loading | |
| tags | No | Delete memories with these tags | |
| memory_id | No | Specific memory ID to delete | |
| older_than | No | Delete older than: 1d, 7d, 30d, 1y | |
| memory_type | No | Delete all of this type |