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.
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. |
Input Schema (JSON Schema)
{
"properties": {
"agentId": {
"description": "Optional agent ID associated with the memory (for cloud API).",
"type": "string"
},
"memoryId": {
"description": "The unique ID of the memory to delete.",
"type": "string"
},
"sessionId": {
"description": "Optional session ID associated with the memory.",
"type": "string"
},
"userId": {
"description": "User ID associated with the memory.",
"type": "string"
}
},
"required": [
"memoryId",
"userId"
],
"type": "object"
}