get_celestial_rise_set
Calculate rise and set times for a celestial object at specified coordinates, time, and timezone to plan observations.
Instructions
Calculate the rise and set times of a celestial object.
Use when: you need one object's rise/set events. Choose calendar_day for the local date containing time, or next_events for the next rise and next set after time. Do not use when: you need a continuous observing window or a complete night plan. Requires: object name, observer coordinates, time, timezone, and the intended event scope. Follow-up: get_celestial_pos for position; plan_stargazing_session for observing windows.
Args:
celestial_object: Name of object (e.g. "sun", "moon", "andromeda")
lon: Observer longitude in degrees
lat: Observer latitude in degrees
time: Date string "YYYY-MM-DD HH:MM:SS"
time_zone: IANA timezone string
event_scope: "calendar_day" (default) finds the events in the local calendar
day containing time. "next_events" finds the next rise and next set
independently, rolling into following days when needed.
Returns: Dict with keys "data", "_meta". "data" contains "rise_time" and "set_time".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| time | Yes | ||
| time_zone | Yes | ||
| event_scope | No | calendar_day | |
| celestial_object | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||