Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/memory / / createFactRememberTool
Function: createFactRememberTool()
ts
function createFactRememberTool(deps): Tool<{
confidence?: number;
sensitivity?: "public" | "internal" | "secret";
tags?: string[];
text: string;
validFrom?: string;
validTo?: string;
}, {
factId: string;
}>;Defined in: packages/memory/src/tools/fact-tools.ts:74
fact_remember — persist a single semantic fact. The minimum-viable pipeline writes the fact straight through with MD5 deduplication; Phase 10b extends the body with the multi-stage conflict resolution.
Parameters
| Parameter | Type |
|---|---|
deps | MemoryToolDeps |
Returns
Tool<{ confidence?: number; sensitivity?: "public" | "internal" | "secret"; tags?: string[]; text: string; validFrom?: string; validTo?: string; }, { factId: string; }>