Sunrise, sunset and twilight times
sun_timesSunrise, sunset, solar noon, day length, and civil, nautical and astronomical dawn and dusk for a town, city or coordinates on a date, in local time.
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 |
|---|---|---|---|
| date | No | YYYY-MM-DD; default today in the place's timezone. | |
| place | No | Town or city name, optionally with country: "Riyadh", "Birmingham, UK", "القاهرة". Or use latitude/longitude. | |
| country | No | Optional ISO 3166-1 alpha-2 code or country name to pick among same-named towns. | |
| latitude | No | ||
| timezone | No | IANA timezone for coordinates, e.g. "Europe/London". Default: from the nearest town. | |
| longitude | No |