memory_merge
Combine duplicate or fragmented memories into one entry. Creates a merged memory and invalidates both originals to remove overlap.
Instructions
Merge two related memories into one. Creates a new merged memory and invalidates both originals. Use when duplicate or fragmented memories cover the same topic.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"primaryId": "<primaryId>",
"secondaryId": "<secondaryId>"
},
"name": "memory_merge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Scope filter (optional) | |
| primaryId | Yes | ID of the primary memory (text used as base if mergedText is not provided) | |
| importance | No | Override importance (default: max of both) | |
| mergedText | No | Explicit merged text. If omitted, both texts are concatenated. | |
| secondaryId | Yes | ID of the secondary memory to absorb |