geo_distance
Distance in metres between two coordinates. Computed geodesically on the WGS84 ellipsoid, so it is the straight-line (as-the-crow-flies) distance, NOT a driving distance, use route or matrix for travel distance and time. Local computation: no network call, no quota.
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_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End coordinate. | |
| from | Yes | Start coordinate. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distance_m | Yes | Distance in metres along the WGS84 ellipsoid. |