solar-position
Sun position, sunrise and sunset for a place and instant (NOAA equations) — Computes sun elevation, azimuth, declination, equation of time, sunrise, solar noon and sunset (UTC) for a latitude/longitude and up to 100 caller-supplied instants using the NOAA Global Monitoring Laboratory solar calculator equations (Meeus). Polar day and polar night return sunrise and sunset as null with a reason, not an error. Reads no clock: every instant comes from the caller. Does not mode
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": {
"latitude": "<latitude>",
"longitude": "<longitude>",
"asOf": "<asOf>"
},
"name": "solar-position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asOf | Yes | ISO 8601 instant with Z or numeric offset; the call never reads the clock. | |
| claim | No | Optional claim about the asOf instant to check; tolerances default to 0.5 deg and 2 minutes. | |
| instants | No | Further instants, same place. | |
| latitude | Yes | Degrees north, -90 to 90. | |
| longitude | Yes | Degrees east, -180 to 180. | |
| utcOffsetMinutes | No | Offset from UTC used to define the local calendar day for sunrise/sunset (default 0). |