Get solar sunrise and sunset times
get_solar_timesReturn sunrise, sunset, solar noon, and day length in seconds and hours for any coordinate and optional date or timezone.
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": "get_solar_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional date in YYYY-MM-DD format (defaults to today). | |
| tzid | No | Optional IANA timezone ID (e.g. "America/Los_Angeles", default "UTC"). | |
| latitude | Yes | WGS84 latitude in decimal degrees (e.g. 37.7749). | |
| longitude | Yes | WGS84 longitude in decimal degrees (e.g. -122.4194). |