Sunrise and sunset
sun_timesSunrise, sunset, solar noon and day length at a place on a day (today by default), with how much longer or shorter the day is than the day before, civil, nautical and astronomical twilight, and the golden and blue hours for photos. Local clock time, to the minute.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sun_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | IANA time zone, e.g. Europe/Warsaw (with lat and lon) | |
| lat | No | Latitude, for any other place | |
| lon | No | Longitude (east positive), with lat | |
| city | No | One of the site's places by name, e.g. "Kraków", "Zakopane", "Hel", "London" (find_city lists them) | |
| date | No | YYYY-MM-DD (1900–2100); leave out for today | |
| lang | No | Language of the answer: pl (default) or en |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| link | Yes | The page on slonce.info.pl | |
| notes | No | ||
| place | Yes | ||
| polar | No | ||
| sunset | No | ||
| sunrise | No | ||
| twilight | No | ||
| blue_hour | No | ||
| day_length | Yes | ||
| solar_noon | No | ||
| golden_hour | No | ||
| day_length_change_seconds | No |