memory_delete
Delete a specific memory by ID to remove stored context, with optional force for fragments or roots and a reason for the tombstone.
Instructions
Delete a memory by id.
Args: memory_id: Memory ID to delete force: If True, allow deleting document fragments/roots. Use memory_delete_document() instead for clean document removal. reason: Optional tombstone reason (default "deleted")
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": "memory_delete"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| reason | No | ||
| memory_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |