Weather – 48-Hour Forecast
weather_forecastGet an hourly weather forecast for the next 48 hours, including temperature, humidity, wind, precipitation, and visibility. Provide a city or coordinates to receive detailed weather data.
Instructions
Returns an hourly weather forecast for the next 48 hours: temperature, apparent temperature, humidity, dew point, pressure, cloud cover, precipitation, wind speed/gust/bearing, UV index, ozone, visibility, and a summary for each hour. Returns up to 48 hourly records, or no data if none is available.
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": "weather_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the location, -90 to 90. Required if place is not provided. | |
| lng | No | Longitude of the location, -180 to 180. Required if place is not provided. | |
| place | No | Place or city name, e.g. "Bengaluru". Required if lat/lng are not provided. Never send both place and lat/lng. | |
| units | No | Unit system for the weather values. Defaults to imperial. | |
| locale | No | If true, the response includes a localTime field alongside each record. |