get_daylight
Retrieve sun position, sunrise, sunset, and twilight state for a coordinate, with twilight classified as day, civil, nautical, or night instead of a boolean.
Instructions
Sun position, sunrise, sunset, and twilight state for a coordinate. Twilight is reported as day, civil, nautical, or night rather than a boolean, because "needs a torch" and "cannot see" are different states.
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": "get_daylight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO 8601 instant. Defaults to now. Times are UTC. | |
| lat | Yes | ||
| lon | Yes |