/** * Recall tool: search through past conversation history. * * The consumer provides a search function via RecallConfig. This module * wraps it into a CortexTool that the agent can invoke to retrieve * specific details from persisted messages. Observations include * timestamps, enabling temporal anchoring for precise recall queries. * * Reference: docs/cortex/observational-memory-architecture.md (Recall Tool) */ import type { CortexTool } from '../../tool-contract.js'; import type { RecallConfig } from './types.js'; /** * Create a CortexTool that wraps the consumer's recall search function. * * The returned tool lets the agent search through persisted conversation * history using a free-text query and optional time range derived from * observation timestamps. */ export declare function createRecallTool(recallConfig: RecallConfig): CortexTool<{ query: string; timeRange?: { start?: string; end?: string; }; }, string>; //# sourceMappingURL=recall-tool.d.ts.map