cn402_geo_distance
Calculate the haversine (great-circle) distance between two latitude/longitude coordinates. Returns the distance in kilometers between any two points on Earth.
Instructions
Geo distance calculator / haversine distance / great circle distance / lat long distance / GPS coordinate distance / 经纬度距离 / kilometer between two coordinates / point-to-point distance Earth / geographic distance API. Compute great-circle (haversine) distance between two latitude/longitude coordinates.
Price: unknown on Base (auto-paid in USDC).
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": {
"lat1": "<lat1>",
"lat2": "<lat2>",
"lng1": "<lng1>",
"lng2": "<lng2>"
},
"name": "cn402_geo_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat1 | Yes | First point latitude (required) | |
| lat2 | Yes | Second point latitude (required) | |
| lng1 | Yes | First point longitude (required) | |
| lng2 | Yes | Second point longitude (required) |