Update Memory Metadata
memory-update-metadataPatch metadata fields like tags, source, domain, or topic on an existing memory by id to correct mis-stamped values without re-ingesting or creating duplicates.
Instructions
Patch metadata-shape fields on an existing memory by id. Use to correct mis-stamped tags/source/domain/topic without re-ingesting (which would either duplicate or rely on similarity dedupe to overwrite). Mode "merge" (default) only updates specified fields; "replace" wipes unset fields to defaults — footgun-y, used sparingly. Rejects mutations of id, createdAt, embedding (re-embedding requires re-ingest with skipDedupe).
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>",
"metadata": "<metadata>"
},
"name": "memory-update-metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Memory id to patch. | |
| mode | No | Default merge — patch only specified keys. Replace — clear unspecified metadata fields to defaults. | |
| metadata | Yes | Partial metadata to apply. |