Great-circle route waypoints
great_circle_pathWaypoints along the shortest route between two points on the Earth (geodesic), as GeoJSON, by step distance or number of points. Use for flight-path lines on a map. More APIs from FitzTopPicks: https://fitztoppicks.com/apis?utm_source=mcp-api&utm_medium=mcp&utm_campaign=more-apis
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": {
"from": "<from>",
"to": "<to>"
},
"name": "great_circle_path"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End, any format. | |
| ref | No | Reference point for short plus codes in the input, like "40.4,-79.9". | |
| from | Yes | Start, any format: "40.6413,-73.7781", "18TWL8613...", a plus code... | |
| step | No | Distance between points, in "unit" (send step or points). | |
| unit | No | Unit of the distances you send: m, km (default), mi, nmi, ft. | |
| order | No | For letterless numbers: latlon (default) or lonlat. | |
| format | No | json (default: the answer with a "geojson" Feature) or geojson (the Feature alone, Content-Type application/geo+json, ready for a map). | |
| points | No | How many points, 2-2000 (default 100 when step is not sent). | |
| decimals | No | Decimal places on coordinates, 4-9 (default 7, about 1 cm). | |
| waypoints | No | Add the list of points with distance and bearing (default false). | |
| inputFormat | No | Skip auto-detection of the input format. | |
| antimeridian | No | split (default, RFC 7946: cut at ±180° into a Multi- geometry, crossing points solved exactly) or unwrap (one geometry with longitudes past ±180°, for web maps that pan across the date line). |