Book a ride
request_rideBooks a ride from a chosen quote after confirming the price; requires quote_id and confirmed_price_toman to dispatch a driver and charge the user.
Instructions
Books a ride using a quote_id from get_ride_quotes. This sends a real driver and charges the user, so only call it after the user has explicitly confirmed the service and price.
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": {
"quote_id": "<quote_id>",
"confirmed_price_toman": "<confirmed_price_toman>"
},
"name": "request_ride"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| quote_id | Yes | The quote_id the user chose. | |
| confirmed_price_toman | Yes | The exact price in Toman the user agreed to for this quote. Must match the quote, or nothing is booked. |