delete_calendar
Delete an empty calendar only when confirm=true; refuses calendars with events within 10 years before/after, read-only, subscribed, birthday, or default.
Instructions
Delete an empty calendar. It is refused when the calendar has any event from 10 years back to 10 years ahead, when it is read-only, subscribed or a birthday calendar, and for the default calendar for new events. Events outside that range are not checked. It needs 'confirm' true, also for an empty calendar. Without it, nothing is deleted. The result says what was checked.
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": {
"calendar": "<calendar>"
},
"name": "delete_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to delete the calendar. Without it, nothing is deleted. | |
| calendar | Yes | Calendar name or id. Names ignore case. |