geo_sun
Sunrise and sunset times — Sunrise, sunset, solar noon, civil dawn and dusk, and day length for any location and date (up to 14 days), computed astronomically. Accepts coordinates or a place name. Times are UTC. Price: $0.002 USDC (Base, via 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": "geo_sun"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | latitude (or use place) | |
| lon | Yes | longitude | |
| date | No | optional YYYY-MM-DD (default today) | |
| days | No | optional 1-14 (default 1) | |
| place | No | optional place name |