get-onecall-weather
Retrieve current weather and 7-day forecast data by providing latitude, longitude, and unit preferences. Exclude specific data types to customize the response.
Instructions
Get comprehensive weather data (current + 7-day forecast)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
exclude | No | Parts of weather data to exclude from the response | |
latitude | Yes | Latitude coordinate | |
longitude | Yes | Longitude coordinate | |
units | No | Temperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin) |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"exclude": {
"description": "Parts of weather data to exclude from the response",
"items": {
"enum": [
"current",
"minutely",
"hourly",
"daily",
"alerts"
],
"type": "string"
},
"type": "array"
},
"latitude": {
"description": "Latitude coordinate",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"longitude": {
"description": "Longitude coordinate",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"units": {
"description": "Temperature units: metric (Celsius), imperial (Fahrenheit), or standard (Kelvin)",
"enum": [
"metric",
"imperial",
"standard"
],
"type": "string"
}
},
"required": [
"latitude",
"longitude"
],
"type": "object"
}