get_astronomy
Retrieve astronomy data including sunrise, sunset, moonrise, moonset, moon phase, and illumination for any location and date.
Instructions
Get astronomy data for a location and date: sunrise, sunset, moonrise, moonset, moon phase, and moon illumination percentage.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"q": "<q>",
"dt": "<dt>"
},
"name": "get_astronomy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Location query — city name, lat/lon, zip, postcode, IATA, or IP. | |
| dt | Yes | Date in yyyy-MM-dd format. |