Skip to main content

Description

delete_memory removes a memory from future search results. In most cases, you do not need to call this directly. When new information replaces old information, save the new memory and MemContext can handle the update.

Parameters

ParameterTypeRequiredDescription
memoryIdstringYesThe memory ID to delete. Use the id returned by search_memory.

Example

delete_memory({
  memoryId: "a1b2c3d4-..."
})

Response

Returns { success: true } on success, or a 404 error if the memory was not found. Deleted memories stop appearing in search and list results.