Skip to content
1 min read · 54 words

Variable: updateMemoryTool

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

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.