get_sun_position
Calculate the sun's position for a specific date, time, and location. Input latitude, longitude, and format (JSON/text) to retrieve accurate solar data.
Instructions
Get sun position information for a specific date, time, and location
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Date to get sun position for (YYYY-MM-DD format). Defaults to current date. | |
| format | No | Output format (json or text) | |
| latitude | Yes | Latitude for location-specific calculations | |
| longitude | Yes | Longitude for location-specific calculations | |
| time | No | Time to get sun position for (HH:MM:SS format). Defaults to current time. |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"date": {
"description": "Date to get sun position for (YYYY-MM-DD format). Defaults to current date.",
"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"
},
"time": {
"description": "Time to get sun position for (HH:MM:SS format). Defaults to current time.",
"type": "string"
}
},
"required": [
"latitude",
"longitude"
],
"type": "object"
}