calculate_distance
Geocode two cities and compute the great-circle (Haversine) distance between them in kilometres and miles.
Instructions
Calculate the great-circle (Haversine) distance between two cities.
Geocodes both cities via Nominatim, then computes the distance in
both kilometres and miles.
Parameters:
from_city — Origin city name (required), e.g. "London".
to_city — Destination city name (required), e.g. "Paris".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_city | Yes | ||
| to_city | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |