memory_store
Store durable memories with provenance and receive an ID and revision. Handles explicit user requests and verified autonomous writes, preventing duplicates and sensitive data.
Instructions
Store a durable memory with provenance. Return id and revision.
Explicit user requests must be handled; autonomous writes require confirmed, durable, future-useful information. Search first. Prefer source.trigger=explicit|autonomous. Never store secrets, speculation, raw logs, or short-lived conversational details. For a changed fact create a new memory with supersedes=old_id; its valid_from closes the old memory's validity atomically. Scope and scope_id must match the old memory. An exact active duplicate in the same scope/type is returned without another insert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory | Yes |