Correct memory
correct_memoryUse this when a saved fact is wrong or has changed: stores new_content as a new version, keeps the history and re-classifies it; the result's visible_to says who can read it now. To change who can read a memory, use change_scope or change_sensitivity instead.
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>",
"new_content": "<new_content>",
"reason": "<reason>"
},
"name": "correct_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Type of memory; 'none' clears it. | |
| 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). | |
| new_content | Yes | The corrected text: one self-contained fact, up to 8000 characters. | |
| valid_until | No | As in remember; 'none' clears it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||