Свободное время
get_available_slotsFree start times for a service, in the salon's time zone, for up to 7 days starting at dateFrom (default today), optionally for one master. The salon's own rules apply (minimum notice, how far ahead one may book). Returns at most 60 times grouped by date, with masters free at each time, and the bookingUrl where the person picks the time and books.
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": {
"serviceId": "<serviceId>"
},
"name": "get_available_slots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days, 1–7 (default 3). | |
| dateFrom | No | First day, YYYY-MM-DD, in the salon's time zone. Default: today. | |
| masterId | No | Only this master (id from the service's masters). | |
| serviceId | Yes | Service id from search_services or get_salon. |