consolidate
Detect and merge duplicate or near-duplicate memories to clean up redundant captures. Preview similar groups, then confirm to consolidate them.
Instructions
Find and merge duplicate or near-duplicate memories. Use this when you suspect redundant captures (e.g. same decision captured twice). Returns groups of similar captures. Set confirm=true to merge them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to merge duplicates. Without confirm, returns candidates only. | |
| threshold | No | Similarity threshold (0-1). Higher = stricter matching. Default 0.75. | |
| session_key | No | The session key to consolidate. Default is hash(cwd). Use 'all' for all projects. |