ephemeris_next_eclipse
Find the next solar or lunar eclipse. Optionally provide latitude/longitude for local visibility and contact times, plus magnitude and duration.
Instructions
Find the next solar or lunar eclipse. Returns the eclipse type, date/time of maximum, magnitude, and duration of totality (if any).
š LOCATION OPTIONAL: ⢠WITH latitude+longitude ā returns local contact times and visibility for that specific location. ⢠WITHOUT latitude+longitude ā returns the next global eclipse of that type (no location needed).
USE THIS TOOL FOR: 'When is the next solar eclipse?', 'When is the next total lunar eclipse?', 'Will there be an eclipse visible from Tokyo?'
CREDIT COST: 1 credit per call.
EXAMPLE: Next solar eclipse globally (no location needed): eclipse_type='solar'
EXAMPLE: Next solar eclipse visible from New York: eclipse_type='solar', latitude=40.7128, longitude=-74.006
EXAMPLE: Next lunar eclipse from London: eclipse_type='lunar', latitude=51.5074, longitude=-0.1278
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | No | Observer latitude in decimal degrees (optional). When provided with longitude, returns local contact times and visibility. | |
| longitude | No | Observer longitude in decimal degrees (optional, pair with latitude). | |
| after_date | No | ISO 8601 date to search after (e.g. '2026-01-01'). Defaults to today if omitted. | |
| eclipse_type | Yes | Eclipse type to search for. Use 'any' for whichever comes first (solar or lunar). |