astronomy sun
astronomy_sunSunrise, sunset, solar noon, day length, civil / nautical / astronomical twilight and golden hour for any place and date in its local time, plus the moon phase, illumination and next full and new moon. Costs $0.002 USDC per call (x402).
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": "astronomy_sun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | ||
| lon | Yes | ||
| date | No | ||
| timezone | No |