memory_forget
Delete memories from an AI agent's storage by ID or semantic query. Soft-delete by default, or hard-delete permanently with purge enabled.
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 |
|---|---|---|---|
| id | No | ID of the memory to forget | |
| purge | No | Hard-delete the memory permanently (default false, soft-delete) | |
| query | No | Semantic query to find and forget the closest matching memory | |
| all_agents | No | Widen the query match across every agent namespace instead of only this server agent (default false). Admin-only cleanup escape hatch. | |
| min_similarity | No | Minimum similarity for query-based forget (default 0.9) |