estimate_fare
Calculate distance and estimated fare in INR for a cab ride using pickup, drop-off, passenger count, and vehicle type to confirm the price with the guest before booking.
Instructions
Calculate distance and estimated fare in INR for a ride based on pickup, drop-off, passenger count, and vehicle type. Present this fare to the guest for confirmation before calling create_booking().
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": {
"pickup_location_id": "<pickup_location_id>",
"drop_location_id": "<drop_location_id>"
},
"name": "estimate_fare"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hotel_id | No | Optional: Hotel ID (required if using 'HOTEL' alias) | |
| vehicle_type | No | Vehicle type preference | |
| passenger_count | No | Number of passengers (default: 1) | |
| drop_location_id | Yes | Drop-off location ID (or 'HOTEL') | |
| pickup_location_id | Yes | Pickup location ID (or 'HOTEL') |