update_memory
Function: update_memory()
Purpose: Modify existing memory content/metadata
Parameters:
agent_name
: Namespace identifiermemory_id
: Target memory IDcontent
: New text (optional)metadata
: New/updated fields (optional)
Example:
update_memory(
agent_name="project_bot",
memory_id="mem_abc123",
content="Updated timeline decision",
metadata={"priority": "critical"}
)
Response:
{
"success": true,
"memory_id": "mem_abc123",
"content": null,
"metadata": null,
"error": null
}
Last updated