Estimate sun hours
estimate_sun_hoursCalculates sunrise, sunset, day length, noon sun elevation and direct-sun hours for a window facing north, east, south and west (and optionally a given azimuth) at a location, for the 21st of a month. This is a free-sky estimate that ignores buildings, trees and terrain. Use when the user asks how much sun a window, apartment, plot or facade gets, or about sunrise and sunset at a place (Polish: ile słońca, nasłonecznienie, godziny słońca, wschód i zachód słońca, strona świata, okna na południe).
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": {
"lat": "<lat>",
"lng": "<lng>",
"month": "<month>"
},
"name": "estimate_sun_hours"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in degrees (north is positive). | |
| lng | Yes | Longitude in degrees (east is positive). | |
| month | Yes | Month from 1 to 12. The 21st of that month is used. | |
| facade_azimuth_deg | No | Optional direction a window faces, in degrees clockwise from north (0 north, 90 east, 180 south, 270 west). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | Yes |