Sunrise, sunset and the moon
sun_and_moonWhen the sun rises and sets at a place on a date, in which direction, how high it gets at noon and how long the day is (or whether it is polar night or midnight sun), with moonrise, moonset and the moon's phase. From MET Norway.
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>",
"lon": "<lon>"
},
"name": "sun_and_moon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude in decimal degrees. | |
| lon | Yes | Longitude in decimal degrees. | |
| date | No | Default today. | |
| utc_offset | No | Offset for the times: '+01:00' Norwegian winter time, '+02:00' summer time. | +01:00 |