Get Sun Position
astro_get_sun_positionGet the sun's position for a date, time, and location: azimuth (degrees clockwise from north as rendered here), altitude above the horizon (degrees), plus approximate declination and right ascension.
Use for: shadow/lighting analysis, solar exposure. Computed locally with suncalc; declination/RA are approximate.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date in YYYY-MM-DD format. Defaults to today. | |
| time | No | Time of day (HH:MM[:SS], interpreted in the local runtime timezone). Defaults to now. | |
| latitude | Yes | Latitude in decimal degrees (-90 to 90). | |
| longitude | Yes | Longitude in decimal degrees (-180 to 180). | |
| response_format | No | Output format: "markdown" for a readable summary table, "json" for the complete structured payload. | markdown |