forget_memory
Delete a memory by its ID and automatically strip all references to it from other memories, keeping your knowledge base clean.
Instructions
Delete a memory by id.
Cascades: every other memory's memory:<id> reference to
this id is automatically stripped from its entities list.
Args:
id: The memory_id returned by save_memory. Accepts
strings (the canonical form, including user-supplied
"kb.policy"-style ids) as well as legacy ints
(coerced to their decimal string form).
Raises a friendly error if the id is invalid or the memory does not exist.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |