forget
Delete all events matching a filter to fulfill GDPR erasure requests for a specific user, removing records from the database and vector index.
Instructions
Delete all events matching a filter (GDPR right to erasure).
Removes events from both the database and the vector index.
Commonly used to delete all data for a specific user on request.
Args:
filter_key: Field in event data to match (e.g. "user_id", "email", "session_id")
filter_value: Value to match (e.g. "user_123", "alice@example.com")
Returns:
deleted_events count
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": {
"filter_key": "<filter_key>",
"filter_value": "<filter_value>"
},
"name": "forget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter_key | Yes | ||
| filter_value | Yes |