Earth tonight
earth_tonightTonight's sky for a place: sunset, end of astronomical twilight (fully dark), sunrise, moon phase and illumination, moonrise and moonset, the next new and full moon, and current geomagnetic activity (planetary Kp from NOAA). Give a major city or latitude and longitude, and optionally a date.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "earth_tonight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | A major city from the built-in list, e.g. "Melbourne" or "Portland, United States". Use latitude and longitude for anywhere else. | |
| date | No | The night to describe, YYYY-MM-DD in the place's time zone (default: today there). Sunset is on this date, sunrise the next morning. | |
| latitude | No | Latitude in decimal degrees, north positive (-90 to 90) | |
| timezone | No | IANA time zone, e.g. "Australia/Melbourne". Optional: a city brings its own; for coordinates the nearest listed city within 300 km is used, otherwise UTC. | |
| longitude | No | Longitude in decimal degrees, east positive (-180 to 180) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sun | Yes | ||
| date | Yes | ||
| moon | Yes | ||
| place | Yes | ||
| accuracy | Yes | ||
| geomagnetic | Yes | Current planetary Kp from NOAA SWPC (a reading for now, not for the requested date) |