memory_forget
Soft-delete a memory (sets status to 'deleted'; restorable). Mutates. Idempotent — safe to retry. Returns the deletion result with the memory's id and shortId. To undelete, use memory_update on the deleted id (any successful revision restores it and sets restoredFromDeleted on the response) or REST POST /v1/memories/:id/restore.
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>"
},
"name": "memory_forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| signer | No | Agent identity -- who wrote this. Required fields: agent_id, run_id. | |
| memory_id | Yes | ID of the memory to delete |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Memory UUID | |
| deleted | Yes | Whether the memory was deleted | |
| shortId | No | Memory short ID |