consolidate
Reduce memory redundancy by merging similar or duplicate entries. Choose a strategy: keep newest, oldest, highest importance, or merge content.
Instructions
Merge similar or duplicate memories to reduce redundancy. Finds memories above similarity threshold and merges them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | Preview without changes | |
| project | No | Project scope for this operation. Omit to auto-detect from environment. Use "*" to search across all projects. | |
| strategy | No | Strategy for merging duplicates | keep_highest_importance |
| _agent_id | No | Optional agent identifier for request tracing and per-agent rate limiting. | |
| namespace | Yes | Namespace to consolidate (required) | |
| max_groups | No | Maximum groups to process | |
| similarity_threshold | No | Minimum similarity for duplicates |