Calendar: Delete calendar
calendar_delete_calendarDelete one exact calendar. This is destructive: resolve and confirm the calendar before deleting it; never infer calendar_id from its display name.
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_id": "<calendar_id>"
},
"name": "calendar_delete_calendar"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Optional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here. | |
| calendar_id | Yes | Exact calendar ID returned by calendar_list_calendars; never pass a calendar name. Calendar ID: Exact Google/Microsoft calendar id. Obtain with: calendar_list -> calendar.id Never pass: calendar display name. |