Sunrise and sunset
get_ephemeris_sunriseUse this when you need sunrise and sunset for a date and place, or where the Vedic day begins. Sunrise, sunset and the next sunrise for a local date and place: upper limb at the sea-level horizon with 36.6′ refraction. The Vedic day runs from sunrise to the next sunrise. Cost: 0.1 credit per call, billed as 1 credit per started block of 10 Ephemeris calls (only successful calls are charged; a sandbox key is free and returns a fixed sample). Deterministic: the same input always gives the same answer. Example arguments: {"date":"2026-10-06","timezone":"Asia/Kolkata","latitude":28.6139,"longitude":77.209}
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": {
"date": "<date>",
"timezone": "<timezone>",
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "get_ephemeris_sunrise"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Local calendar date, YYYY-MM-DD. | |
| latitude | Yes | Geographic latitude in decimal degrees, north positive. | |
| timezone | Yes | IANA name, e.g. Asia/Kolkata. Defines the local day. | |
| longitude | Yes | East positive. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||