Sun position
get_sun_positionCalculates the Sun's altitude and compass bearing at a place, date and UTC time, with the shadow of a 1 m upright and the day's sunrise and sunset in UTC. A place is one of the website's 20 cities or a latitude and longitude; without a date and time the result is for the current moment.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sun_position"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | UTC date as YYYY-MM-DD, from 1900 to 2100. Defaults to today in UTC. | |
| time | No | UTC time as HH:MM on a 24-hour clock. Defaults to the current time when no date is given, otherwise to 12:00. | |
| place | No | City, one of Anchorage, Auckland, Buenos Aires, Cape Town, Dubai, Johannesburg, Lima, London, Los Angeles, Mexico City, Moscow, Mumbai, Nairobi, New York, Perth, Santiago, São Paulo, Singapore, Sydney or Tokyo. Not needed when latitude and longitude are given. | |
| latitude | No | Latitude in degrees, north positive: -90 to 90. | |
| longitude | No | Longitude in degrees, east positive: -180 to 180. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| view | Yes | ||
| request | Yes |