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
| Parameter | Type |
|---|---|
deps | MemoryToolDeps |
options | BuildMemoryToolsOptions |
Returns
readonly Tool<unknown, unknown, unknown>[]