Sun position and shadow
sun_positionThe Sun's apparent elevation and azimuth (from true north) at a place and time, and the shadow a vertical object casts on level ground (NOAA solar position, refraction included).
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>",
"time": "<time>"
},
"name": "sun_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone for a local time, e.g. Australia/Melbourne | |
| time | Yes | ISO 8601, with a UTC offset (2026-12-21T12:00:00+11:00) or local with tz | |
| latitude | Yes | Latitude in degrees (WGS84) | |
| longitude | Yes | Longitude in degrees (WGS84) | |
| object_height_m | No | Height of a vertical object, for its shadow |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | ||
| units | No | Unit of each numeric field | |
| method | Yes | ||
| status | No | ok | |
| warnings | No | Caveats to tell the user | |
| provenance | No | Source, licence, attribution, retrieval time and method | |
| azimuth_deg | Yes | Clockwise from true north | |
| above_horizon | Yes | ||
| elevation_deg | Yes | Apparent elevation above a flat horizon, refraction included | |
| declination_deg | Yes | ||
| shadow_length_m | No | On level ground, for object_height_m | |
| equation_of_time_min | Yes | ||
| shadow_direction_deg | No | Direction the shadow points, from true north |