Rumbo entre dos puntos
geo-bearingCalcula el rumbo inicial y final (grados desde el norte) entre dos puntos, con etiqueta de brújula. Cuándo: hay que calcular coordenadas, distancias, rumbos o áreas a partir de puntos dados. No para: calcular el punto de llegada desde un origen, una distancia y un rumbo (geo-destination). Efectos secundarios: ninguno (solo lectura, sin red, sin estado guardado). Determinista: la misma entrada da la misma salida. Límites: entrada JSON de hasta 64 KB, 1 s por llamada, resultado de hasta 1 MB.
EN: Computes the initial and final great-circle bearings (degrees clockwise from true north) from one point to another, with 16-point compass labels. When: coordinates, distances, bearings or areas have to be computed from given points. Not for: computing the point reached from a start, distance and bearing (geo-destination). Side effects: none (read-only, no network access, no stored state). Deterministic: the same input gives the same output. Limits: JSON input up to 64 KB, 1 s per call, result up to 1 MB.
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": "geo-bearing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Point as {lat, lon} in decimal degrees (WGS84) (object; required). | |
| from | Yes | Point as {lat, lon} in decimal degrees (WGS84) (object; required). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| compass | No | ||
| final_bearing | No | ||
| initial_bearing | No |