Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.linksee.app/llms.txt

Use this file to discover all available pages before exploring further.

Atomically edit an existing memory in-place. Preferred over forget + remember because it preserves memory_id, which matters for session_file_edits links and referential integrity. Use to correct facts, update deadlines in goal entries, refine caveats, or re-score importance.

Parameters

memory_id
number
required
The memory.id to update. Get this from a prior recall response.
content
string
New content (plain text or JSON). If omitted, content is kept as-is.
layer
string
Move to a different layer. Aliases accepted. If omitted, layer is kept.
importance
number
New importance score 0.0-1.0. Set to 0.9+ to pin.

Example

{
  "memory_id": 42,
  "content": "Never use pgbouncer in session mode with Supabase — causes prepared statement conflicts. Use transaction mode. Verified again 2026-05.",
  "importance": 0.95
}
Caveat protection: Caveat-layer memories can be updated (content/importance), but cannot have their protected flag removed or be moved to another layer.

When to use update vs. forget + remember

Use update_memoryUse forget + remember
Correcting a factCompletely replacing with unrelated content
Adding detail to existing memorySplitting one memory into multiple
Changing importance scoreChanging entity association
Refining a caveat wording