Earth curvature calculator
calculate_curvatureCalculates how much of a distant target the Earth's curvature hides, from the surface distance, the observer's eye height, the target's height and an assumed refraction coefficient. Returns the hidden and visible height, the tangent-plane drop, the horizon distance and dip, the maximum mutual sight-line range and the midpoint bulge on a smooth sphere of radius 6,371.0084 km.
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": {
"distance": "<distance>"
},
"name": "calculate_curvature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Metric uses kilometres and metres; imperial uses miles and feet. Metric without it. | |
| distance | Yes | Surface distance between the observer and the target, along the ground: 0 to 1000 km, or 0 to 621 miles when units is imperial. | |
| eyeHeight | No | Height of the observer's eye above the surface: 0 to 1000 m, or feet when units is imperial. Defaults to 2 m (6.56 ft). | |
| refraction | No | Assumed refraction coefficient k from -0.3 to 0.3: 0 is straight rays and positive values bend rays toward the surface. Defaults to 0. | |
| targetHeight | No | Height of the target'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 |