Get Times Date
get_times_dateGet sunrise, sunset, dawn, dusk, solar noon, and golden hour times for a specific date at a location.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lat": 40.7128,
"lng": -74.006,
"date": "2024-06-21"
},
"name": "get_times_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the location (e.g., 40.7128) | |
| lng | Yes | Longitude of the location (e.g., -74.0060) | |
| date | Yes | Date in YYYY-MM-DD format (e.g., "2024-06-21") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude of the location | |
| lng | Yes | Longitude of the location | |
| date | Yes | Date in YYYY-MM-DD format | |
| dawn | Yes | Dawn time | |
| dusk | Yes | Dusk time | |
| sunset | Yes | Sunset time | |
| sunrise | Yes | Sunrise time | |
| timezone | Yes | Timezone identifier | |
| day_length | Yes | Duration of daylight | |
| last_light | Yes | Last light time | |
| solar_noon | Yes | Solar noon time | |
| utc_offset | Yes | UTC offset in hours | |
| first_light | Yes | First light time | |
| golden_hour | Yes | Golden hour time |