Préparer la réservation
start_bookingPrepares a booking without creating it: re-checks the slot against live capacity and the basket against the centre, then returns bookingUrl — a washlib.com link that opens the booking form at the contact step with the centre, day, slot, vehicle and services pre-filled — with arrival times and the online / on-site totals. The booking exists only once the customer confirms their phone by SMS and pays, or chooses on-site payment, on Washlib. bookingUrl works only exactly as returned: an altered link loses the pre-fill.
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": {
"centerSlug": "<centerSlug>",
"vehicleType": "<vehicleType>",
"serviceIds": "<serviceIds>",
"date": "<date>",
"timeSlot": "<timeSlot>"
},
"name": "start_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Chosen day, YYYY-MM-DD (Europe/Paris) | |
| timeSlot | Yes | ||
| centerSlug | Yes | Centre slug as returned by find_centers or search_available_slots | |
| serviceIds | Yes | The basket quote_booking priced: one formule, plus options | |
| vehicleType | Yes | vehicleTypes.value from get_center_details (s, m, l, xl, van, moto) — never the label. |