Link to the online order
get_booking_linkReturns the address of the booking page with the order prefilled: service, quantity or area, chosen option, add-ons, town and day. Send the same "services" and "addons" as to get_quote so the customer sees the price they were told. The customer reviews it there and completes the order themselves: exact time, contact, consent and payment.
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": "get_booking_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Day to preselect in the calendar (YYYY-MM-DD), e.g. one from get_availability. Optional. | |
| town | No | Town to prefill in the address step. Optional. | |
| addons | No | Add-ons, offered with the FIRST service in "services" (see its "addons" in list_services). They add to the price and to the length of the visit. | |
| services | No | As in get_quote. The booking page takes one main service per order: the FIRST one is prefilled. | |
| service_id | No | Shortcut: only preselect this service. Ignored when "services" is given. |