Delete an event
delete_eventRemove a task from the timeline: a one-off event, one occurrence of a repeating event, or the whole series. The task itself stays in its list. This cannot be undone from here; confirm with the user first if they did not clearly ask for it. Take event_id and instance_date from the same entry in list_events: instance_date is that occurrence’s date as YYYY-MM-DD and is always required, but it is ignored for all_events. scope decides how much goes: this_instance removes only that occurrence and the series carries on; this_and_future_events ends the series the day before instance_date, so earlier occurrences stay and that one and later ones, with their completion marks, are removed; all_events removes the whole series. For a one-off (non-repeating) event every scope removes the event. An unknown event_id returns an error and nothing is deleted. To move or change an event instead of removing it use update_event, and to delete the task itself use delete_tasks.
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": {
"event_id": "<event_id>",
"instance_date": "<instance_date>",
"scope": "<scope>"
},
"name": "delete_event"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | Yes | How much to remove: this_instance (only that occurrence), this_and_future_events (that occurrence and every later one), or all_events (the whole series). A one-off event is removed whatever the scope | |
| event_id | Yes | Id of the event to delete, from the same list_events entry as instance_date | |
| instance_date | Yes | Date of the occurrence to act on, YYYY-MM-DD, copied from that entry’s instance_date in list_events. Always required, but ignored when scope is all_events |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | What was done to the event | |
| task | No | The task that is scheduled, when the reply includes it | |
| event | No | The created or updated event | |
| listId | No | Id of the list the scheduled task is in | |
| eventId | No | Id of the event; present for updated, deleted, completed and uncompleted events | |
| success | Yes | True when the change was applied |