Remove a fact from durable memory (writes + git-commit, gated)
memory_forgetRemove a single remembered fact from MEMORY.md after one-time approval, with the deletion git-committed so it remains recoverable. Use when a user asks to forget or correct a stored memory.
Instructions
Remove one entry from MEMORY.md (e.g. when the user says to forget/correct a remembered fact) and git-commit the removal — the fact stays recoverable from git history (not a hard delete). This is a GATED action: it pauses and shows the targeted entry for a one-time approval before removing; just call it (no separate confirm needed). match is a distinctive substring of the entry to remove; it refuses if zero or more than one entry matches (it will not guess).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"match": "<match>"
},
"name": "memory_forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| match | Yes | A distinctive substring of the single entry to remove (must match exactly one). |