delete_memory
Remove a specific memory entry by ID from the mem0 Memory System, ensuring precise data management and user control over stored information.
Instructions
Deletes a specific memory from Mem0 by ID.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"memoryId": "<memoryId>",
"userId": "<userId>"
},
"name": "delete_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agentId | No | Optional agent ID associated with the memory (for cloud API). | |
| memoryId | Yes | The unique ID of the memory to delete. | |
| sessionId | No | Optional session ID associated with the memory. | |
| userId | Yes | User ID associated with the memory. |