memory_edit
Edit an existing memory's content or metadata to correct vendor information, update prices, or add context. Changes are tracked with an audit trail.
Instructions
Edit an existing memory's content or metadata.
Use this to correct wrong vendor information, update prices, or add context to an existing memory. Tracks edit history.
Args: id: The memory ID to edit. content: New content to replace the existing content. If omitted, content is unchanged. metadata: JSON string of metadata fields to merge into existing metadata. Example: '{"vendor": "bitrefill.com", "note": "price updated"}'
Returns: The updated memory record with old_content_preview for audit trail.
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": {
"id": "<id>"
},
"name": "memory_edit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| content | No | ||
| metadata | No | {} |