get_hourly_weather
Retrieve hour-by-hour weather forecasts for up to 7 days by city or coordinates, including temperature, precipitation, wind, and conditions to plan daily activities and track changes.
Instructions
Get hour-by-hour weather forecast for up to 7 days (168 hours). Returns detailed hourly predictions including temperature, feels-like temperature, humidity, precipitation, weather conditions, wind speed, direction, and gusts. Perfect for planning daily activities or tracking weather changes throughout the day. Accepts either city name OR latitude/longitude coordinates.
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_hourly_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name. Required if latitude/longitude not provided. | |
| hours | No | Number of hours to forecast (1-168, default: 24) | |
| country | No | Optional country code | |
| latitude | No | Latitude coordinate. Must be provided with longitude if city is not specified. | |
| longitude | No | Longitude coordinate. Must be provided with latitude if city is not specified. |