geo_sun
Get sun position data for any geographic coordinate and date: sunrise, sunset, solar noon, civil dawn/dusk, and day length. All times in UTC.
Instructions
Calculate sun position data for a geographic coordinate on a given date: sunrise, sunset, solar noon, civil dawn/dusk, and day length in hours. All times are in UTC.
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>"
},
"name": "geo_sun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the observation point (-90 to 90) | |
| lng | Yes | Longitude of the observation point (-180 to 180) | |
| date | No | ISO date string (YYYY-MM-DD) for the calculation. Defaults to today if omitted. |