The agent's shared SQLite brain database connection.
Set deleted = 1 on the memory trace matching traceId.
The WHERE clause filters to deleted = 0 so that attempting to
delete an already-deleted trace returns { deleted: false } rather
than silently succeeding — this gives callers accurate feedback.
Delete input (traceId, optional reason).
Tool execution context (not used by this tool).
{ deleted } status, or an error result.
Readonly idGlobally unique tool identifier.
Readonly nameLLM-facing tool name.
Readonly displayHuman-readable display name.
Readonly descriptionLLM-facing description.
Readonly categoryLogical category for discovery and grouping.
Readonly hasThis tool writes to the database.
Readonly inputJSON schema for input validation and LLM tool-call construction.
ITool implementation that soft-deletes a memory trace from the agent's SQLite brain database.
Usage: