Geo Distance
geo_distanceGeodesic distance and bearings on the WGS-84 ellipsoid: Vincenty (millimetre accuracy) plus great-circle haversine, initial / final bearing with 16-point compass, midpoint, multi-point path length with per-segment legs, and the destination point from a start, bearing and distance. Units km, m, mi, nautical miles or feet. Offline, deterministic. Price: $0.001 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/geo-distance
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "geo_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End "lat,lon" | |
| from | No | Start "lat,lon" (decimal degrees) | |
| units | No | km | |
| points | No | Path: list of "lat,lon" (total length + legs) | |
| bearing | No | With from + distance: destination mode | |
| distance | No | Distance to travel in the chosen units (destination mode) |