memory_remove
Remove outdated or incorrect memories by moving them to tombstones with a removal reason, preserving them for audit and potential restore while preventing reuse of wrong facts.
Instructions
Tombstone a memory. The file is moved to .tombstones/ with a removal reason and the originating session id — never hard-deleted. Use when a stored fact is wrong or no longer relevant. Tombstones remain searchable via memory_list_tombstones and are surfaced as removed_matches on memory_write when a new body looks similar to a previously-removed fact, so the lesson encoded in the removal reason isn't lost. Use memory_restore(id) to undo an accidental removal.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| reason | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||