Ссылка на запись
prepare_bookingPrepare a booking link for ONE service at ONE time (a «cart» of one item). Nothing is booked here and the time is not held: the person opens bookingUrl, checks the details, enters or corrects name, phone and e-mail, gives the consents themselves and books. The time must be one of those get_available_slots returns; it is checked now and again when the person confirms. If you already know the person's name, phone and e-mail, pass them: they pre-fill the form (they travel in the link's #fragment and are not stored by uPlanny). Cancelling and moving bookings are not available through this server.
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>",
"start": "<start>"
},
"name": "prepare_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start | Yes | Start time from get_available_slots (`start`, e.g. 2026-11-18T10:00+03:00). Without an offset it is read in the salon's time zone. | |
| masterId | No | A particular master (from the slot's masters). Leave out for any free master. | |
| serviceId | Yes | Service id. | |
| customerName | No | Optional pre-fill: the person's name. | |
| customerEmail | No | Optional pre-fill: the person's e-mail. | |
| customerPhone | No | Optional pre-fill: the person's phone, e.g. +7 999 123-45-67. |