Send a booking request
request_bookingSends a booking request as the booking page does, once the traveller has seen the price and accepted the terms of sale (https://www.cote-privee.com/terms): one service (the fields of quote, with date, time and pickup), several (items) or a plan of find_trips (trip, startDate), and the traveller's details. Nothing is charged: the traveller gets the request by e-mail, and the driver confirms it by e-mail and says how to pay the full price, or declines it (next says it for this request; payment: "in full when the driver confirms"). dry_run checks and prices without sending; the same request within a day, or the same requestId, answers the same reference. Only valid requests count against the limits; a refusal names each argument to fix and what is allowed (retryAfter after a limit).
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": {
"name": "<name>",
"email": "<email>",
"phone": "<phone>",
"accept_terms": "<accept_terms>"
},
"name": "request_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ||
| car | No | ||
| back | No | ||
| date | No | ||
| from | No | ||
| lang | No | ar: Arabic notes, data in English. | |
| name | Yes | ||
| stop | No | ||
| time | No | ||
| trip | No | A plan id of find_trips. | |
| Yes | |||
| hours | No | ||
| items | No | Several services (at most 6), each with the fields above. | |
| notes | No | ||
| phone | Yes | ||
| route | No | ||
| stops | No | ||
| flight | No | Flight or train. | |
| guests | No | ||
| option | No | ||
| pickup | No | Pickup address (a hotel, a street) at the start of a ride or of the day. | |
| dropoff | No | A ride: where the car leaves the guests (a hotel). | |
| dry_run | No | ||
| luggage | No | ||
| service | No | ||
| direction | No | ||
| requestId | No | 8 to 64 letters, digits, - or _. | |
| startDate | No | The plan's first day. | |
| stopHours | No | ||
| extraHours | No | ||
| returnDate | No | ||
| returnTime | No | ||
| returnTrip | No | ||
| returnLater | No | ||
| accept_terms | Yes | true only once the traveller has accepted the terms of sale. | |
| returnFlight | No |