create_booking
Create a guest ride booking with pickup and drop locations, passenger count, and fare estimate, returning a booking ID for driver search.
Instructions
Create a new guest ride booking with passenger count and estimated fare. Returns booking_id. Then call get_next_driver() to begin driver search.
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": {
"hotel_id": "<hotel_id>",
"guest_name": "<guest_name>",
"pickup_location_id": "<pickup_location_id>",
"drop_location_id": "<drop_location_id>",
"booking_type": "<booking_type>"
},
"name": "create_booking"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotel_id | Yes | Hotel ID making the booking | |
| guest_name | Yes | Guest full name | |
| booking_type | Yes | Type of ride | |
| estimated_fare | No | Optional confirmed estimated fare in INR | |
| passenger_count | No | Number of passengers (default: 1) | |
| pickup_datetime | No | Optional: Pickup date and time in format 'YYYY-MM-DD HH:MM'. Defaults to current real-time timestamp if omitted. | |
| drop_location_id | Yes | Drop-off location ID (or 'HOTEL') | |
| pickup_location_id | Yes | Pickup location ID (or 'HOTEL') | |
| required_vehicle_type | No | Optional required vehicle type |