Submit the booking as a new customer
submit_booking_new_customerPlace the booking for the currently selected car, period and extras, registering the renter as a new customer. This creates a real, binding rental booking and sends a confirmation email, so only call it once the user has reviewed get_booking_summary and explicitly confirmed all of the personal details and the rental terms. If the renter has booked here before, use submit_booking_returning_customer instead.
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": {
"email": "<email>",
"firstName": "<firstName>",
"lastName": "<lastName>",
"phone": "<phone>",
"address": "<address>",
"idCode": "<idCode>",
"drivingLicenceNumber": "<drivingLicenceNumber>",
"acceptsTerms": "<acceptsTerms>",
"acceptsDataHandling": "<acceptsDataHandling>"
},
"name": "submit_booking_new_customer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | Renter email address, used as the customer identity | ||
| phone | Yes | Phone number including country code, e.g. +372 5555 1234 | |
| idCode | Yes | National identity code of the renter | |
| address | Yes | Street address including city and country | |
| lastName | Yes | ||
| firstName | Yes | ||
| additional | No | Free-text note for the rental company. When the pickup or return location is delivery to the renter's own address, put that street address here. | |
| companyName | No | Only for a company rental | |
| acceptsTerms | Yes | Must be true. The user has to have accepted the rental terms. | |
| drivesAbroad | No | Whether the car will be driven outside Estonia | |
| companyAddress | No | Only for a company rental | |
| apartmentNumber | No | ||
| acceptsMarketing | No | Whether the user opted in to marketing emails | |
| estimatedMileage | No | Estimated kilometres over the rental period | |
| wantsContactless | No | Whether the renter wants contactless issuance: picking the car up and returning it without meeting staff. The contract is signed and paid online before pickup, and the renter unlocks the car from their phone. Only possible when the selected car has contactlessAvailable: true. | |
| additionalDrivers | No | ||
| acceptsDataHandling | Yes | Must be true. The user has to have accepted the data handling policy. | |
| drivingLicenceNumber | Yes |