Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/memory / tools / buildMemoryTools

Function: buildMemoryTools()

ts
function buildMemoryTools(deps, options?): readonly Tool<unknown, unknown, unknown>[];

Defined in: packages/memory/src/tools/index.ts:77

Build the canonical eleven-memory-tool array. Order is stable — consumers can rely on the indices for snapshot tests. fact_history (P0-2) and fact_validate (P1-4) are appended last so the original nine indices are unchanged. With { includeDeepRecall: true } the gated deep_recall tool (P2-4) is appended as a twelfth, after the stable eleven.

Parameters

ParameterType
depsMemoryToolDeps
optionsBuildMemoryToolsOptions

Returns

readonly Tool&lt;unknown, unknown, unknown&gt;[]

Stable