memory_delete
Permanently remove a memory note by permalink, id, or exact title to retract secrets or wrong facts. Correct notes with memory_write instead.
Instructions
Delete one memory note by permalink, id or exact title, permanently: its file is removed and does not return on restart. Use to retract a note that holds a secret or a wrong fact; to correct a note use memory_write, which updates in place. Lead-only while a swarm has a lead. Returns a digest of what was removed; not_found if there is none.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A permalink, an id, or an exact title. | |
| agent | Yes | Your stable agent name. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lead | No | On a lead-only conflict: the lead to message. | |
| status | Yes | ok. conflict: lead-only while a swarm has a lead. not_found: no such note. | |
| message | No | Human-readable detail, on most outcomes other than ok. | |
| removed | No | A digest of the deleted note: permalink, title, kind, paths, tags, updated_at, and a 160-character excerpt. |