sun_moon
Sunrise and sunset times, golden hour and moon phase. Sunrise, sunset, dawn, dusk, solar noon, golden hour and day length for any latitude, longitude and date, plus the moon phase, illumination, moonrise and moonset. Computed, no outside source. Times in UTC, or local with zone (IANA, e.g. Europe/Paris). Price: $0.002 per call (x402, USDC on Base).
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "sun_moon"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| date | No | ||
| zone | No |