Stream Sunrise/Sunset
astroway_stream_sunrise_sunsetRetrieve today's and tomorrow's sunrise and sunset times for a latitude and longitude, with an optional timezone offset, to plan daylight-dependent activities.
Instructions
Today + tomorrow sun events.
[Group: Real-time Streaming] [Endpoint: POST /v1/stream/sunrise-sunset] [Required: latitude, longitude] [Cost: 10 credits (Tier 1)]
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "astroway_stream_sunrise_sunset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | ||
| longitude | Yes | ||
| timezoneOffset | No | Hours from UTC at the given moment, not minutes. Fractional zones are hours too: 5.5 for India, 5.75 for Nepal, -3.5 for Newfoundland. Defaults to 0, meaning UTC. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| today | No | ||
| pricing | No | ||
| tomorrow | No | ||
| timestamp | No | ||
| transport | No | ||
| sseUpgrade | No | ||
| nextEventAt | No | ||
| tickSeconds | No | ||
| nextEventKind | No |