MCPcopy Create free account
hub / github.com/anus-dev/ANUS / constructor

Method constructor

packages/core/src/tools/memoryTool.ts:317–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

315{
316 static readonly Name: string = memoryToolSchemaData.name!;
317 constructor() {
318 super(
319 MemoryTool.Name,
320 'Save Memory',
321 memoryToolDescription,
322 Kind.Think,
323 memoryToolSchemaData.parametersJsonSchema as Record<string, unknown>,
324 );
325 }
326
327 override validateToolParams(params: SaveMemoryParams): string | null {
328 const errors = SchemaValidator.validate(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected