memory_consolidate
Consolidate near-duplicate memories into a single canonical note, marking originals as superseded while preserving the audit trail.
Instructions
Replace a cluster of near-duplicate memories with one canonical note.
Every entry matching replaces (exact text or close paraphrase) is
marked superseded by new_text, which is stored fresh — the bank gets
shorter without losing the audit trail.
Returns: {superseded_count, superseded_texts, new_memory_stored}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | ||
| source | No | ||
| new_text | Yes | ||
| replaces | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||