place_distance
Calculate the distance between two geographic locations using the GeoDB Cities API. Specify place IDs and choose distance units to measure separation between cities or administrative divisions.
Instructions
Gets this place's distance to the given place.
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": {
"placeId": "<placeId>"
},
"name": "place_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distanceUnit | No | The unit of distance: KM | MI [default] | |
| toPlaceId | No | The distance to this place | |
| placeId | Yes | Example value: |