Delete Memories by Context
delete_by_contextDelete all stored memories matching a specific metadata key-value pair, optionally scoped to a namespace, to remove context-specific data.
Instructions
Delete all memories matching a specific context metadata [key, value] pair.
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": {
"key": "<key>",
"value": "<value>"
},
"name": "delete_by_context"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Metadata key to match. | |
| value | Yes | Metadata value to match. | |
| namespace | No | Optional namespace scope. |