memory_history
Read an entity's past: get every version of a fact slot or a chronological chain of events, including writer, timestamps, and what changed. Pass as_of to see the state as of a specific time.
Instructions
Read an entity's past. SLOT mode (attribute given): every
version of that canonical fact slot, oldest→newest, each with
writer/session, tx/valid time, and age ("what did this used to be?
who set it?") — compaction thins chains past ~30d. CHAIN mode
(attribute omitted): the entity's dated fact/entry/edge/lesson
events merged oldest→newest ("what led to X?").
Returns: {entity, attribute, count, versions} (slot mode) or
{found, entity, count, events} (chain mode).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Slot mode only: ISO-8601 or epoch seconds; returns only versions written by then. | |
| entity | Yes | The subject whose past to read. | |
| attribute | No | The fact slot to read; omit for chain mode. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||