Skip to Content

RecallToolOptions

Defined in: src/lib/memory/recallTool.ts:33 

Properties

budget?

optional budget: Budget

Defined in: src/lib/memory/recallTool.ts:41 

Retrieval depth. Default: “low”.


decomposeOptions?

optional decomposeOptions: PortalLlmAuth & object

Defined in: src/lib/memory/recallTool.ts:56 

LLM-decompose options; only used at budget=“high”. Runs in THIS tool executor (719/B4) — recall() itself is LLM-free. Auth follows the dual pattern: apiKey (server/CLI) or getToken (browser identity tokens) — at least one required.

Type Declaration

baseUrl?

optional baseUrl: string

model?

optional model: string


excludeConversationId?

optional excludeConversationId: string

Defined in: src/lib/memory/recallTool.ts:51 

Exclude one conversation from chunk results (typically the active one).


folderId?

optional folderId: string | null

Defined in: src/lib/memory/recallTool.ts:49 

Vault folder filter.


limit?

optional limit: number

Defined in: src/lib/memory/recallTool.ts:39 

Max items returned to the LLM. Default: 8.


memoryIds?

optional memoryIds: string[]

Defined in: src/lib/memory/recallTool.ts:47 

Topic membership, enforced before fact ranking; disables unrestricted chunks.


memoryStore?

optional memoryStore: MemoryStore

Defined in: src/lib/memory/recallTool.ts:35 

Serves sort: "recent" when the recall context reads facts through factSource.


minScore?

optional minScore: number

Defined in: src/lib/memory/recallTool.ts:43 

Min score threshold. Defaults to recall()‘s per-lane defaults.


now?

optional now: number

Defined in: src/lib/memory/recallTool.ts:65 

Reference “now” for resolving relative temporal phrases in the query (“last week”, “yesterday”, “N days ago”). Default: Date.now(). Override for back-dated bench harnesses, replay tools, or deterministic tests — otherwise the W6 lane resolves windows against wall-clock today, which is wrong for any historical dataset.


scopes?

optional scopes: string[]

Defined in: src/lib/memory/recallTool.ts:45 

Vault scope filter.


types?

optional types: MemoryKind[]

Defined in: src/lib/memory/recallTool.ts:37 

Lanes to search. Default: [“fact”, “chunk”].

Last updated on