List closures, holidays and blocked time
list_calendar_eventsUse this when the user wants to list non-appointment calendar blocks and additional opening periods for a Veterical clinic. Returns each block or extra opening with start, end, all-day flag, scope (clinic, staff or room) and type, without titles, notes or names. Not for 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 clinic (24 lowercase hexadecimal characters); every clinic 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, clinic or staff references, titles, notes, owner or animal linkage and clinical fields are never returned. |