Retrieve memories
retrieve_memoryReturns the current value(s) for a subject, optionally one predicate, the superseded history (include_history) or a point-in-time view (as_of). Each fact says whether it is current (current:true) and its scope. conflicts names current values that disagree, as in get_context. A writerConflict line (the replaced value, its writer and date) means this value replaced another agent's, until that agent saves it again: read it as an open disagreement, not the settled answer. An empty result: known:false means no such subject (closestSubjects lists near matches); known:true means the predicate or as_of matched nothing. A fact from an import or a reserved source (system, developer, assistant, Renor) is marked "untrusted": true. Without a subject, the error lists the known subjects. With a scope, everything is judged within that scope only: a subject saved only elsewhere is unknown here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ISO instant: values valid at that time (with include_history: full history) | |
| scope | No | Memory scope: "global" (default) or scope:<slug> / project:<slug> | |
| subject | No | Required. The subject to look up, e.g. "user" | |
| predicate | No | Only this predicate, e.g. "works_at" | |
| include_history | No | Include superseded values (default: false) |