memory_consolidate
Replace a cluster of near-duplicate memories with one canonical note while keeping the replaced entries as history.
Instructions
Replace a cluster of near-duplicate memories with one canonical note. Use exactly one selector mode; there is no similarity fallback. All targets must resolve before any changes. Missing, retired or ambiguous targets cause no mutation; search again and resubmit IDs. Selected entries remain as history after replacement.
Returns: {superseded_count, superseded_texts, superseded_ids, new_memory_stored}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | Labels for the new note. | |
| source | No | Source tag for the new note. | |
| new_text | Yes | The canonical note that replaces them. | |
| replaces | No | Unique exact stored texts; omit with entry_ids. | |
| entry_ids | No | Positive IDs in this bank; prefer over replaces. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||