Current weather and hourly forecast
get_weatherRetrieves current conditions and an hourly forecast (temperature, rain, cloud, wind) for a place to answer general weather questions, with local times and wind in knots.
Instructions
Current conditions plus an hourly forecast (temperature, rain, cloud, wind) for a place. Use for general 'what's the weather' questions. Wind is in knots, times are local to the location. For wind-sport planning prefer get_wind_forecast or find_wind_windows.
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_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hours | No | How many hours ahead to return, starting from the current hour (1-168). | |
| latitude | No | Latitude in decimal degrees. | |
| location | No | Place name, optionally with region/country to disambiguate, e.g. "Bucerias, Mexico" or "Springfield, US". Ignored for lookup when latitude and longitude are given (then only a label). | |
| longitude | No | Longitude in decimal degrees. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | ||
| caveat | Yes | ||
| hourly | Yes | ||
| current | Yes | ||
| location | Yes | ||
| attribution | Yes | Required credit for the data source. |