Archive an entry
memory_archiveSoft-delete one memory entry to hide it from reads and search while keeping it restorable and audited. Use when a fact is wrong or obsolete; correct facts by writing the same scope and name.
Instructions
Archive (soft-delete) one entry: hide it from normal reads and search while keeping it, restorable with memory_restore and audited in memory_events.
Use it for a fact that became wrong or obsolete; to correct a fact, prefer memory_write on the same scope + name. Nothing is ever physically deleted. Returns {"ok": true} if the entry is now archived (also when it already was), {"ok": false} if no entry has that scope and name, or {"ok": false, "error": ...} when the reason is empty. Not available on read-only connections.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Entry name: the short kebab-case slug that identifies the entry within its scope. | |
| scope | Yes | Project/topic scope the entry belongs to, e.g. a project folder name (list them with memory_scopes). On a scope-locked connection (--scope), this argument is ignored and the connection's own scope is used. | |
| reason | Yes | Why you are doing this, in a few words. Required and must not be empty; stored in the audit log (memory_events). |