Revise a memory
reviseReplace the value of an existing memory when the user asks for a change or confirms one. The previous value stays in the audit history and can be restored with rollback. Accepts expected_version from recall, so a change made elsewhere is never silently overwritten. Sending the same value records a confirmation and refreshes the update time.
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>",
"value": "<value>"
},
"name": "revise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Memory key, for example "project.billing.database". | |
| value | Yes | The new content as text. For structured data, send it as JSON text. | |
| reason | No | Why the memory changed; kept in the audit trail. | |
| importance | No | ||
| expected_version | No | The version returned by recall or a previous write. The change is refused if the memory changed since. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| version | Yes | ||
| state_version | Yes | ||
| conflicts_resolved | Yes |