Merge memories
merge_memoryMerge a duplicate or near-duplicate memory into a canonical one, marking the source as superseded and recording provenance.
Instructions
Merge a duplicate/near-duplicate memory into a canonical one. The source becomes superseded and provenance is recorded in metadata.merged_from.
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": {
"sourceId": "<sourceId>",
"targetId": "<targetId>"
},
"name": "merge_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceId | Yes | Memory to merge away (becomes superseded) | |
| targetId | Yes | Canonical memory to keep (becomes active) |