Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/memory / / createFactHistoryTool

Function: createFactHistoryTool()

ts
function createFactHistoryTool(deps): Tool<FactHistoryInput, FactHistoryOutput>;

Defined in: packages/memory/src/tools/fact-tools.ts:393

fact_history - trace how a fact changed over time. Returns the full bi-temporal supersede chain the given fact belongs to, oldest → newest, including superseded entries, so the agent can answer "what did the user say before" / "how did this change". Read-only. P0-2.

Parameters

ParameterType
depsMemoryToolDeps

Returns

Tool&lt;FactHistoryInput, FactHistoryOutput&gt;

Stable