consolidate_memories
Merge related memories with the same subject into comprehensive facts. Automatically detects clusters of 3+ memories, synthesizes them into 1-2 richer memories, and archives originals. Use dry_run to preview changes.
Instructions
Consolidate related memories into fewer, richer memories. Finds clusters of memories sharing the same subject (3+ memories required), then uses AI to synthesize each cluster into 1-2 comprehensive facts. Originals are archived (not deleted) with full version history. Use dry_run=true to preview without making changes. Great for cleaning up memory clutter after many sessions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "consolidate_memories"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subject | No | Consolidate only memories with this exact subject (e.g., "auth_system"). Omit to auto-detect all qualifying clusters. | |
| memory_type | No | Only consolidate memories of this type | |
| category | No | Only consolidate memories in this category | |
| dry_run | No | When true, preview consolidation results without making changes. Recommended for first use. |