Skip to content
providerkit
GitHub

memoryTools

function memoryTools(options?): Readonly<{
forget: Tool;
save: Tool;
search: Tool;
}>;

Defined in: agents/src/memory.ts:591

Register these objects in tools. Share the SAME objects with helper templates to grant them. Nothing is injected into a helper’s allowlist, and no schema accepts a scope.

Parameter Type
options { maxNoteChars?: number; needsApproval?: boolean; }
options.maxNoteChars? number
options.needsApproval? boolean

Readonly<{ forget: Tool; save: Tool; search: Tool; }>