Daily forecast
get_forecastRetrieve a 1-16 day daily weather forecast for a city or coordinates, including high/low temperatures, precipitation, wind, and conditions.
Instructions
Get a daily weather forecast (1-16 days) for a location. Specify EITHER a "city" name OR "latitude"+"longitude". Returns per-day high/low temperatures, precipitation total and probability, peak wind, and condition.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"days": "<days>",
"temperature_unit": "<temperature_unit>",
"wind_speed_unit": "<wind_speed_unit>"
},
"name": "get_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Place name to geocode, e.g. "Tokyo", "Paris, France", "Austin TX". Provide this OR latitude+longitude. | |
| days | Yes | Number of forecast days (1-16). | |
| latitude | No | Latitude in decimal degrees. Provide with longitude to skip geocoding. | |
| longitude | No | Longitude in decimal degrees. Provide with latitude to skip geocoding. | |
| wind_speed_unit | Yes | Unit for wind speed (km/h, m/s, mph, knots). | kmh |
| temperature_unit | Yes | Unit for temperature values. | celsius |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| location | Yes | ||
| wind_speed_unit | Yes | ||
| temperature_unit | Yes |