List closures, holidays and blocked time
list_calendar_eventsUse this when someone asks when their medical practice is closed, or when a doctor or room is blocked for holidays, sick leave, courses, meetings or maintenance. Returns each block or extra opening with start, end, all-day flag, scope and type (no titles or notes). Not for patient appointments.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_calendar_events"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Blocks per page, from 1 to 100; defaults to 20 | |
| cursor | No | The nextCursor of the previous page with the same filters; absent for the first page | |
| endTime | No | Only blocks ending before this ISO 8601 date-time | |
| clinicId | No | Only this practice (24 lowercase hexadecimal characters); every practice when absent | |
| startTime | No | Only blocks starting at or after this ISO 8601 date-time |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nextCursor | Yes | Cursor for the next page; null on the last page | |
| calendarEvents | Yes | Non-appointment calendar blocks, earliest first. Event identifiers, staff and room references, titles, notes and patient links are never returned. |