Change the destination
change_destinationUpdates the active ride’s destination after the user confirms the new price from a preview. Use to change the drop-off point for a booked ride.
Instructions
Changes the active ride's destination. Only call after preview_destination_change and the user agreeing to the new price; pass that price as confirmed_price_toman.
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": {
"destination": "<destination>",
"confirmed_price_toman": "<confirmed_price_toman>"
},
"name": "change_destination"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ride_id | No | ||
| destination | Yes | A saved place name (e.g. "home"), "here" for your current location, "lat,lng" coordinates, or an address / landmark (e.g. "Tajrish Square, Tehran" or "میدان تجریش"), which is looked up on OpenStreetMap. | |
| confirmed_price_toman | Yes | The new price the user agreed to. Must match the current preview. |