memory
Retrieve, edit, promote, or demote knowledge entries. Strengthen retrieval with thumbs up, weaken with thumbs down. Permanently remove content.
Instructions
Unified memory management tool. Actions: 'get' (retrieve full node), 'purge' (irreversibly remove content/embeddings with confirm=true), 'delete' (legacy alias for purge), 'state' (get accessibility state), 'promote' (thumbs up — increases retrieval strength), 'demote' (thumbs down — decreases retrieval strength, does NOT delete), 'edit' (update content in-place, preserves FSRS state).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The ID of the memory node (for single-memory actions) | |
| ids | No | Array of memory IDs (for get_batch action). Max 20 IDs per call. | |
| action | Yes | Action to perform: 'get' retrieves full memory node, 'get_batch' retrieves multiple memories by IDs (use 'ids' array), 'purge' permanently removes memory content and embeddings after confirm=true, 'delete' is a backwards-compatible alias for purge and also requires confirm=true, 'state' returns accessibility state, 'promote' increases retrieval strength (thumbs up), 'demote' decreases retrieval strength (thumbs down), 'edit' updates content in-place (preserves FSRS state) | |
| reason | No | Why this memory is being promoted/demoted/purged (optional, for logging). | |
| confirm | No | Required for action='purge' and action='delete'. Purge/delete permanently removes memory content and embeddings; only a non-content tombstone remains. | |
| content | No | New content for edit action. Replaces existing content, regenerates embedding, preserves FSRS state. |