Delete a memory
rhebok_delete_memoryDeletes one saved memory by ID when it is wrong or no longer applies, so outdated lessons, facts, or episodes stop appearing.
Instructions
Delete one saved memory (a lesson, fact or episode) by its id.
Use it when the user says a memory is wrong or no longer applies. To correct a memory instead, save the new wording with rhebok_save_memory, which replaces the near-duplicate. To find an id, use rhebok_list_memories.
Parameters: id is usually 12 hex characters, such as c6f771fc1a36; an episode distilled from a session has that session's id instead. A shorter prefix works when exactly one memory starts with it, so c6f7 can be enough; a prefix that matches two memories deletes nothing.
Behavior: there is no undo. The memory leaves session-start lessons and prompt retrieval at once, and restoring it means saving it again. It touches only rhebok's memory store, never the user's notes or files, so it cannot remove a search hit.
Returns: forgotten with the deleted memory's id, kind and title. An id that matches nothing deletes nothing and says so in reason.
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": {
"id": "<id>"
},
"name": "rhebok_delete_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The memory's id, as shown in <rhebok-lessons>, in a (memory: …) line, or in rhebok_save_memory's reply. A unique prefix is enough; a prefix that matches two memories is refused. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The full id of the deleted memory. | |
| kind | Yes | The deleted memory's kind. | |
| title | Yes | The deleted memory's title. | |
| reason | Yes | Why nothing was deleted: no memory has that id, the prefix matches more than one, or the memory store is disabled or busy. | |
| forgotten | Yes | True when a memory was deleted. |