update_memory tool ¶Replaces an existing memory’s text and optionally its tags / importance / freshness fields. The embedding is recomputed.
idRequired integer. The memory’s id.
textRequired string. The replacement text. Same length / secret-shape
constraints as remember.
tagsArray of strings. Optional. Replaces the tag list entirely if provided.
importanceNumber, 0–1. Optional.
expires_atISO 8601 timestamp. Optional.
last_confirmed_atISO 8601 timestamp. Optional.
{
"ok": true,
"memory_id": 123,
"message": "Ok"
}
Updating a soft-deleted memory fails with NOT_FOUND — forget
and re-add instead.
INVALID_INPUT, NOT_FOUND, SECRET_REJECTED,
EMBEDDING_ERROR, DATABASE_ERROR.