Restore memory
restore_memoryUse this when the person wants a forgotten memory back. Find its id with list_memories filter 'forgotten'. Only within the trash period after forgetting (30 days by default); then it is erased for good. Restoring an active memory is rejected.
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>",
"reason": "<reason>"
},
"name": "restore_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent | No | Your agent label. | |
| reason | Yes | Why, for the audit; ask the person if unsure. | |
| run_id | No | Your run id. | |
| memory_id | Yes | Memory id ('mem_' prefix optional). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||