Supersede a memory
supersede_memoryMark a stored episode or fact as no longer valid, without deleting it.
Use it when a stored memory turns out to be false or outdated, not merely
old. The memory keeps being returned by retrieval, with the reason
attached in superseded_por.
An id that does not exist with the given type returns 404 (code
viejo_no_existe or nuevo_no_existe); viejo_tipo says whether it is an
episode or a fact.
Args:
viejo_id: UUID of the memory that is no longer valid.
motivo: One sentence explaining what happened, distinguishing a change
in the world ("those rows were purged") from a correction ("this
was never true").
viejo_tipo: 'episode' (default) or 'fact'.
nuevo_id: Optional UUID of the episode or fact that replaces it; its
type is detected automatically.
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": {
"viejo_id": "<viejo_id>",
"motivo": "<motivo>"
},
"name": "supersede_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| motivo | Yes | ||
| nuevo_id | No | ||
| viejo_id | Yes | ||
| viejo_tipo | No | episode |