get_astronomy
Get sunrise, sunset, and twilight times for any location using US Naval Observatory data. Also returns moonrise and moonset.
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": "get_astronomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tz | No | UTC offset in hours (e.g. -5 for EST, 1 for CET). Default: 0 (UTC) | |
| lat | No | Latitude (default: 40.7128 — New York City) | |
| lon | No | Longitude (default: -74.0060 — New York City) | |
| date | No | Date in YYYY-MM-DD format (default: today) |