Get Sun Times
astro_get_sun_timesGet sunrise, sunset, solar noon, dawn/dusk (civil), nautical dawn/dusk, astronomical dawn/dusk, golden hour, and day length for a location and date (or each day of a range if end_date is given).
Times are ISO UTC unless an IANA timezone is provided. At high latitudes some events may be null (e.g. no astronomical night in summer). Computed locally.
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>"
},
"name": "astro_get_sun_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date in YYYY-MM-DD format. Defaults to today. | |
| end_date | No | Optional range end: one entry per day. | |
| latitude | Yes | Latitude in decimal degrees (-90 to 90). | |
| timezone | No | IANA timezone for output times (e.g. "America/New_York"). Defaults to UTC ISO timestamps. | |
| 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _response | Yes |