memory_remove
Tombstone a memory that is wrong or outdated, moving it to .tombstones/ with a reason—never hard-deleted. The removal stays searchable, and similar future writes surface the lesson.
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 | |||