distance_bearing
Computes geodesic distance and bearings between two WGS84 coordinates for accurate distance and direction answers, avoiding memory-based estimates.
Instructions
Geodesic distance in km and bearings in degrees from point 1 to point 2 (WGS84).
Use this for every distance or bearing question. Never estimate a distance from memory. Get the coordinates from geocode first.
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>",
"lon1": "<lon1>",
"lat2": "<lat2>",
"lon2": "<lon2>"
},
"name": "distance_bearing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat1 | Yes | ||
| lat2 | Yes | ||
| lon1 | Yes | ||
| lon2 | Yes |