The agent's shared SQLite brain database connection.
Update a memory trace identified by traceId.
The method builds a dynamic SET clause based on which optional fields are provided:
content provided → set content = ?, also set embedding = NULL
to signal that the cached vector is stale.tags provided → serialise array as JSON and set tags = ?.If neither content nor tags is specified, the method returns
{ updated: false } immediately without touching the database.
A trace that does not exist or has deleted = 1 returns { updated: false }.
Update input (traceId, optional content/tags).
Tool execution context (not used by this tool).
{ updated } 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 applies partial updates to an existing memory trace stored in the agent's SQLite brain database.
Usage: