memory_history
Read an entity's past: inspect every version of a fact slot to see what changed and who set it, or trace dated events to learn what led to the current state.
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 date or epoch seconds, not relative words like 'yesterday'; 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 | |||