delete_memory
Remove specific memories from the MemOS server by providing their unique IDs. This tool permanently deletes stored data when users explicitly request removal with valid identifiers.
Instructions
Trigger: User provides specific ID(s) to delete.
Purpose: Delete memories by ID.
STRICT RULES:
1. BATCHING: If multiple IDs are provided, call this tool ONCE with all IDs.
2. FORBIDDEN: Do NOT call multiple times. Do NOT enter search-delete loops.
3. FORBIDDEN: Do not use this tool if no ID is provided (use add_feedback instead).
4. CRITICAL: NEVER use this tool to "simulate" a modification (delete old + add new). This is strictly forbidden.
5. CRITICAL: ONLY use if user explicitly asks to delete AND provides IDs.
Parameters:
- memory_ids: List of memory IDs to delete.
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": {
"memory_ids": "<memory_ids>"
},
"name": "delete_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| memory_ids | Yes | List of memory IDs to delete |