Price a new destination
preview_destination_changePreview the cost of an active ride with a different destination without changing the ride. Confirm the new price, then update the destination only if the user agrees.
Instructions
Shows what the active ride would cost with a different destination. Changes nothing. Show the user the new price, then call change_destination only if they agree.
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>"
},
"name": "preview_destination_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ride_id | No | Omit for the current active ride. | |
| 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. |