Delete a memory
forgetRemove a remembered object by key: revert to its predecessor, delete the full version chain, or delete only that object; synced chunks drop the whole source.
Instructions
Forget a remembered object by key. mode defaults to "revert": on a chain head created with supersedes it tombstones the head and restores the predecessor; otherwise it tombstones the target. "chain" tombstones every version of the chain. "object" tombstones only this object. On a synced chunk mode is ignored: the whole source is forgotten and never re-ingested (sync_source_id names it).
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": {
"key": "<key>"
},
"name": "forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | The key to forget, as returned by `remember`. | |
| mode | No | `"revert"` (default), `"chain"`, or `"object"`. |