See a business's open times
get_availabilityLists the times one business has open for an appointment, when its owner offers them (request.instant_booking in get_business). Returns up to 50 slots over 1 to 14 days, soonest first, each with a start and an end as ISO 8601 date-times carrying the business's own offset, and the business's time zone. Slots come from the weekly times the owner set in that zone, less times already booked, less the notice the business needs, and no further ahead than it takes bookings. The times are the business's local time. Seeing a slot holds nothing: a booking request sent with send_request, with the start of the slot the user chose as slot_start, asks for that time. It is booked if it is still open when the request reaches the business, which on most addresses is when the user confirms; otherwise the business answers as usual. When instant_booking is false no slots are given. Looking sends nothing to the business.
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": {
"slug": "<slug>"
},
"name": "get_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days to look at, from 1 to 14. Default 7. | |
| from | No | The first day to look at, as YYYY-MM-DD in the business's local time. Default: today where the business is. A day already past starts from today. | |
| slug | Yes | The business's slug, exactly as returned by search_businesses. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The last local date looked at, YYYY-MM-DD. | |
| from | Yes | The first local date looked at, YYYY-MM-DD. | |
| more | Yes | True when those days hold more open times than were returned; looking again from a later day returns them. | |
| slots | Yes | Open times, soonest first, at most 50. | |
| timezone | Yes | The business's time zone, as an IANA name. The slots are in its local time. | |
| slot_minutes | Yes | The length of one appointment, in minutes. | |
| instant_booking | Yes | True when the owner offers open times and a booking request sent now would reach them. When false, slots is empty. |