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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
{ maxNoteChars?: number; needsApproval?: boolean; } |
options.maxNoteChars? |
number |
options.needsApproval? |
boolean |
Returns
Section titled “Returns”Readonly<{
forget: Tool;
save: Tool;
search: Tool;
}>