Search available cars and prices
search_availabilityRead-only
Search available vehicles with real prices for a company, office and dates. Prices are identical to the company's own web chat (mandatory charges, one-way and time rules included). Returns numbered offers and the session_id of this booking session.
Input Schema
TableJSON 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. | |
| driver_age | Yes | Main driver's age. The price and the available cars depend on it. | |
| promo_code | No | ||
| session_id | No | Booking session id returned by a previous call for this company (offers, selection, customer details). Omitted, a new session starts. | |
| pickup_date | Yes | YYYY-MM-DD, office-local. | |
| pickup_time | No | HH:MM, office-local. Default 10:00. | |
| return_date | Yes | YYYY-MM-DD, office-local. | |
| return_time | No | HH:MM, office-local. Default 10:00. | |
| pickup_office | Yes | Pickup office name or id. | |
| return_office | No | Return office name or id when different (one-way). |