Horizon distance
get_horizon_distanceGives the distance to the horizon from an eye height above a smooth sphere, and how far a taller object such as a mast stays in straight sight. Returns the observer's horizon distance, the range added by the target height and the maximum shared sightline.
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": {
"eyeHeight": "<eyeHeight>"
},
"name": "get_horizon_distance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Metric uses kilometres and metres; imperial uses miles and feet. Metric without it. | |
| eyeHeight | Yes | Height of the observer's eye above the water or ground: 0.1 to 1000 m, or feet when units is imperial. | |
| targetHeight | No | Height of the taller object's top above the same surface: 0 to 1000 m, or feet when units is imperial. Defaults to 10 m (32.8 ft). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| view | Yes | ||
| request | Yes |