Skip to content
1 min read · 57 words

Variable: updateMemoryTool

ts
const updateMemoryTool: Tool<SpooledJsonArtifact<unknown>>;

Defined in: batteries/tools/memory/index.ts:133

Replace an existing @nhtio/adk!Memory by id.

Remarks

The model supplies id plus any subset of content / confidence / importance; fields left undefined retain their prior values. updatedAt is always bumped to the current time; createdAt is preserved. Returns an error when no memory with the supplied id is found.