Supersede memory
supersede_memoryUse this when a newer memory replaces memory_id (e.g. related says 'updates'): the old one leaves default recall and keeps its history; undo removes the link.
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": {
"memory_id": "<memory_id>",
"replaced_by": "<replaced_by>"
},
"name": "supersede_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| undo | No | Remove the link instead. | |
| agent | No | Your agent label. | |
| run_id | No | Your run id. | |
| memory_id | Yes | Memory id ('mem_' prefix optional). | |
| replaced_by | Yes | Id of the newer memory. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||