update_memory

Function: update_memory() Purpose: Modify existing memory content/metadata Parameters:

  • agent_name: Namespace identifier

  • memory_id: Target memory ID

  • content: 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