Delete a logged event
delete_eventDelete a logged finish/re-watch/re-read event on one item. The undo for log_event. With no event_date, event_id, or all, and more than one event on the item, nothing is deleted and the events are listed with their ids.
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": {
"media_type": "<media_type>"
},
"name": "delete_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Delete every logged event on the item. | |
| title | No | Exact title of the item (or pass item_id) | |
| item_id | No | Library item id (UUID), as shown by get_details. Preferred over title. | |
| event_id | No | Delete exactly this event, by the id delete_event reported. | |
| event_date | No | Delete the event on this date: YYYY-MM-DD, or YYYY-MM / YYYY to cover a whole period. When more than one event matches, nothing is deleted and they are listed with ids; pass event_id, or all: true alongside event_date to delete every match. | |
| media_type | Yes | Type of media |