List closures, days off and blocked time
list_calendar_eventsUse this when someone asks when their salon is closed or has extra opening hours, or when a stylist or chair is blocked for holidays, vacations, sick days, training or meetings. Returns blocks and extra openings with salon, type, scope, effect, all-day flag and times for all salons unless one is given, earliest first (no titles or notes). Not for client 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 | Maximum number of calendar events to return (default 20, maximum 100) | |
| endTime | No | Only events ending before this ISO 8601 time | |
| salonId | No | Only blocks for this salon, by an id from the user's salon list; every salon when absent | |
| startTime | No | Only events starting at or after this ISO 8601 time |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| events | Yes | Closures, days off and extra openings, earliest first. Free-text titles and notes, chair ids, staff ids, organization data and private reasons are excluded. | |
| hasMore | Yes |