geolocate
Invert physical observations at a known UTC timestamp to feasible Earth coordinates or regions. When flat ground and both solar direction (sun_azimuth_deg or shadow_bearing_deg) and solar elevation (sun_altitude_deg or shadow_length_ratio) are given, solves an analytical closed-form celestial navigation fix with damped Gauss-Newton refinement and covariance uncertainty radius (method: 'analytical'). For any other observable combination (Sun+Moon, bright-limb angle, twilight, visible planets, or sloped terrain), sweeps a global spherical grid with antimeridian-wrapping cluster refinement (method: 'grid'). Returns subsolar and sublunar ground points plus ranked candidate regions classified as point, arc, or band.
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": {
"date": "<date>",
"observed": "<observed>"
},
"name": "geolocate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Known UTC ISO date-time of the observation (convert from local first) | |
| bortle | No | Dark-sky class 1-9 for naked-eye planet visibility thresholds | |
| lat_max | No | Maximum search latitude in degrees (default 70) | |
| lat_min | No | Minimum search latitude in degrees (default -70) | |
| lon_max | No | Maximum search longitude in degrees east (default 180) | |
| lon_min | No | Minimum search longitude in degrees east (default -180) | |
| observed | Yes | Physical observations to invert to Earth coordinates (at least one constraint required) | |
| slope_deg | No | Local terrain slope angle in degrees from horizontal (0..90; default 0) | |
| elevation_m | No | Observer elevation above sea level in meters (default 0) | |
| grid_step_deg | No | Spherical grid spacing in degrees for grid mode (default 4) | |
| max_candidates | No | Maximum candidate regions to return (default 12) | |
| slope_azimuth_deg | No | Downhill compass azimuth of sloped terrain in degrees clockwise from true north (default 0) |