get_moon_info
Retrieve the Moon's phase, illumination, age, elongation, and Earth distance. Optionally includes local altitude and azimuth when observer latitude and longitude are provided.
Instructions
Get detailed information about the Moon's phase and position.
When lat and lon are provided, also returns the Moon's local
altitude and azimuth relative to the observer.
Args: time: Date string "YYYY-MM-DD HH:MM:SS" time_zone: IANA timezone string lat: Observer latitude in degrees (optional, for local position) lon: Observer longitude in degrees (optional, for local position)
Returns: Dict with keys "data", "_meta". "data" contains illumination, phase_name, age_days, elongation, earth_distance, and optionally altitude/azimuth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| time | Yes | ||
| time_zone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||