delete_memory
Deletes a specific memory entry by ID from the workspace or global Memory Vault and removes its index and graph links, keeping stored context accurate.
Instructions
Deletes a specific memory entry by ID from the workspace or global Memory Vault
and removes its index/graph links.
Args:
memory_id: The ID of the memory entry to delete (e.g. 'mem_a1b2c3d4').
workspace_dir: Workspace root directory. Empty = engine.default_workspace
from the config, else the server's current directory.
scope: Lookup scope ('local', 'global', or 'all'). Default is 'local'.
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_id": "<memory_id>"
},
"name": "delete_memory"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | local | |
| memory_id | Yes | ||
| workspace_dir | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||