Restore an entry
memory_restoreRestore an archived entry so it appears in normal reads and search again; reverses archiving and logs your reason.
Instructions
Restore one archived entry so it appears again in normal reads and search. The inverse of memory_archive.
Find archived entries with memory_list(archived=true). The restore is logged in memory_events with your reason. Returns {"ok": true} if the entry is now active (also when it was not archived), {"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). |