Rf Los Check
rf_los_checkCheck RF line of sight between an observer and target over FABDEM terrain, with optional Fresnel-zone clearance at a given frequency.
Instructions
Check RF line of sight between observer A and target B over FABDEM terrain.
A is the observer (default 1.5 m above ground level); B is the target, e.g. a repeater (default 25.0 m AGL). Coordinates are decimal degrees, heights are metres. a_height_ref/b_height_ref are "agl" (above ground level, the default) or "amsl" (above mean sea level).
There is NO default frequency. Without frequency_mhz the check is geometric only (mode="geometric", no Fresnel zone) and the result says so. With frequency_mhz the 0.6 x first Fresnel zone must be clear for a "clear" verdict (mode="rf"); partial intrusion is "marginal". Take repeater lat/lon and output frequency (MHz) from the repeaterbook tools.
k_factor is the effective earth radius factor (default 4/3, standard atmosphere). snap_radius_m (default 1000 m, max 10000, 0 disables) snaps the TARGET B (not the observer A) to the highest nearby ground within that radius, since repeater coordinates are often imprecise (valley town vs the hilltop site); the move is reported in target_snap. A and B must be different points at most 300 km apart. Vegetation and buildings are not modelled (bare-earth DEM). The first query in a new area downloads a ~12 MB terrain tile per 1 degree square, which can take about a minute; use dem_prefetch to pre-download. One call downloads at most 16 new tiles.
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": {
"a_lat": "<a_lat>",
"a_lon": "<a_lon>",
"b_lat": "<b_lat>",
"b_lon": "<b_lon>"
},
"name": "rf_los_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| a_lat | Yes | Latitude, decimal degrees | |
| a_lon | Yes | Longitude, decimal degrees | |
| b_lat | Yes | Latitude, decimal degrees | |
| b_lon | Yes | Longitude, decimal degrees | |
| k_factor | No | Effective earth radius factor | |
| a_height_m | No | Height in metres | |
| b_height_m | No | Height in metres | |
| a_height_ref | No | agl | |
| b_height_ref | No | agl | |
| frequency_mhz | No | Frequency in MHz (no default; omit for geometric-only check) | |
| snap_radius_m | No | Target snap radius in metres |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| notes | Yes | ||
| summary | Yes | ||
| verdict | Yes | ||
| k_factor | Yes | ||
| los_clear | Yes | ||
| a_ground_m | Yes | ||
| b_ground_m | Yes | ||
| attribution | Yes | ||
| distance_km | Yes | ||
| target_snap | No | ||
| frequency_mhz | Yes | ||
| min_clearance_m | Yes | ||
| a_antenna_amsl_m | Yes | ||
| b_antenna_amsl_m | Yes | ||
| worst_obstruction | Yes | ||
| bearing_a_to_b_deg | Yes | ||
| bearing_b_to_a_deg | Yes | ||
| min_fresnel_clearance_ratio | Yes |