Provide driver details
provide_customer_detailsSubmits the driver's details for the booking in progress and returns the booking summary with its confirmation_token. terms_accepted records that the customer accepted the company's terms and must be 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>",
"first_name": "<first_name>",
"last_name": "<last_name>",
"email": "<email>",
"terms_accepted": "<terms_accepted>"
},
"name": "provide_customer_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | |||
| notes | No | ||
| phone | No | With country code (+1…). Required by most companies. | |
| 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. | |
| last_name | Yes | ||
| company_id | Yes | Rental company id. | |
| first_name | Yes | ||
| references | No | Only for a company where the person has a negotiated agreement and that asks for booking references: the claim or file number, cost center or purchase order and agency reference the customer gives, exactly as given. If one it requires is missing, this tool fails with references_required naming it. | |
| session_id | Yes | Booking session id returned by a previous call for this company (offers, selection, customer details). Omitted, a new session starts. | |
| flight_number | No | ||
| terms_accepted | Yes |