Confirm the booking
confirm_bookingConfirms the summarised booking with its confirmation_token, which proves the customer saw that exact summary. Creates the reservation in the company's reservation system and returns the confirmation code (and a payment link when the company requires prepayment). An on-request booking comes back pending the company's confirmation and without a code yet.
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": {
"company_id": "<company_id>",
"session_id": "<session_id>",
"confirmation_token": "<confirmation_token>"
},
"name": "confirm_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| language | No | Language of the conversation, BCP-47 (es, en, pt-BR, fr, de, it…). Defaults to 'en'. Bota also answers in the language the customer writes. | |
| company_id | Yes | Rental company id. | |
| session_id | Yes | Booking session id returned by a previous call for this company (offers, selection, customer details). Omitted, a new session starts. | |
| confirmation_token | Yes | confirmation_token from the response that showed the booking summary. |