Line of sight
line_of_sightWhether A and B can see each other over the terrain (Copernicus 30 m DEM, curvature and refraction), the minimum clearance and where it occurs; with frequency_mhz, the first Fresnel zone clearance of a radio link (60% clear is the usual rule).
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": {
"lat_a": "<lat_a>",
"lon_a": "<lon_a>",
"lat_b": "<lat_b>",
"lon_b": "<lon_b>"
},
"name": "line_of_sight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat_a | Yes | Latitude in degrees (WGS84) | |
| lat_b | Yes | Latitude in degrees (WGS84) | |
| lon_a | Yes | Longitude in degrees (WGS84) | |
| lon_b | Yes | Longitude in degrees (WGS84) | |
| height_a_m | No | Height above ground at A (e.g. a mast) | |
| height_b_m | No | Height above ground at B | |
| frequency_mhz | No | For a radio link: report first Fresnel zone clearance |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | No | Unit of each numeric field | |
| method | Yes | ||
| status | No | ok | |
| fresnel | No | ||
| visible | Yes | ||
| warnings | No | Caveats to tell the user | |
| distance_m | Yes | ||
| provenance | No | Source, licence, attribution, retrieval time and method | |
| bearing_deg | Yes | ||
| min_clearance_m | Yes | Smallest gap between the sight line and the terrain; negative = blocked | |
| min_clearance_at | Yes |