Select an offer
select_offerSelects one of the numbered offers of the booking session. Returns the extras available for it, or the driver details the company needs. Only for companies with booking_via_agents=true.
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>",
"offer_number": "<offer_number>"
},
"name": "select_offer"
}
}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. | |
| offer_number | Yes |