Set current location
set_current_locationRecords the user's current location as the default pickup point for ride requests. Use it to set where the user is now by saved place, 'here', coordinates, or address.
Instructions
Records where the user is right now, used as the default pickup point.
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": {
"location": "<location>"
},
"name": "set_current_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional friendly name, e.g. 'Valiasr St, near Tajrish'. | |
| location | 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. |