get daylight
get_daylightCompute sunrise, sunset and civil twilight for the exact calendar date and IANA zone. UTC instants handle daylight saving and polar days. Terrain and weather can reduce usable daylight.
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": {
"slug": "<slug>",
"date": "<date>"
},
"name": "get_daylight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| slug | Yes | Peak slug returned by search, for example mont-blanc. | |
| timeZone | No | Optional explicit IANA zone; defaults to the catalogue zone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| sources | Yes | ||
| retrievedAt | Yes | ||
| schemaVersion | Yes |