Class: MemoryUpdateTool
Defined in: packages/agentos/src/memory/tools/MemoryUpdateTool.ts:65
ITool implementation that applies partial updates to an existing memory trace stored in the agent's SQLite brain database.
Usage:
const tool = new MemoryUpdateTool(brain);
const result = await tool.execute(
{ traceId: 'mt_1711234567890_0', content: 'Updated content here.' },
context,
);
// result.output.updated → true
Implements
ITool<MemoryUpdateInput,MemoryUpdateOutput>
Constructors
Constructor
new MemoryUpdateTool(
brain):MemoryUpdateTool
Defined in: packages/agentos/src/memory/tools/MemoryUpdateTool.ts:110
Parameters
brain
The agent's shared SQLite brain database connection.
Returns
MemoryUpdateTool
Properties
category
readonlycategory:"memory"='memory'
Defined in: packages/agentos/src/memory/tools/MemoryUpdateTool.ts:81
Logical category for discovery and grouping.
Implementation of
description
readonlydescription:string
Defined in: packages/agentos/src/memory/tools/MemoryUpdateTool.ts:76
LLM-facing description.