get_sun_times_range
Retrieve sunrise, sunset, and other sun event times for a specific date range and location using latitude, longitude, and timezone. Output available in JSON or text format.
Instructions
Get sun rise/set and other sun event times for a date range and location
Input Schema
Name | Required | Description | Default |
---|---|---|---|
end_date | Yes | End date (YYYY-MM-DD format) | |
format | No | Output format (json or text) | |
latitude | Yes | Latitude for location-specific calculations | |
longitude | Yes | Longitude for location-specific calculations | |
start_date | Yes | Start date (YYYY-MM-DD format) | |
timezone | No | Timezone for the results. Defaults to UTC. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"end_date": {
"description": "End date (YYYY-MM-DD format)",
"type": "string"
},
"format": {
"description": "Output format (json or text)",
"enum": [
"json",
"text"
],
"type": "string"
},
"latitude": {
"description": "Latitude for location-specific calculations",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"longitude": {
"description": "Longitude for location-specific calculations",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"start_date": {
"description": "Start date (YYYY-MM-DD format)",
"type": "string"
},
"timezone": {
"description": "Timezone for the results. Defaults to UTC.",
"type": "string"
}
},
"required": [
"start_date",
"end_date",
"latitude",
"longitude"
],
"type": "object"
}