get_moon_info
Retrieve lunar phase, illumination, and position; add observer coordinates to get local altitude, azimuth, moonrise, and moonset times.
Instructions
Get detailed information about the Moon's phase and position.
Use when: you need lunar phase or illumination facts, with optional observer-local events. Do not use when: you need to rank observing sites or assess a target's overall suitability. Requires: time and timezone; supply both lat and lon for local position and rise/set. Follow-up: get_telescope_targets for equipment-aware targets; plan_stargazing_session for the combined effect of moonlight, weather, place, and observing goals.
When lat and lon are provided, also returns the Moon's local
altitude, azimuth, moonrise, and moonset 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 plus moonrise/moonset (UTC unix timestamps).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| time | Yes | ||
| time_zone | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||