Skip to content
1 min read · 41 words

Variable: deleteMemoryTool

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

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

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

Remarks

Delegates to ctx.deleteMemory(id). Returns { ok: true, id } on success regardless of whether a memory was actually present — deleteMemory is idempotent at the ADK level.