get_weather_forecast
Retrieve daily weather forecasts for up to 16 days by city or coordinates, including temperatures, precipitation, conditions, and wind speeds to help plan trips or events.
Instructions
Get weather forecast for up to 16 days. Returns daily predictions including max/min temperatures, precipitation, weather conditions, and wind speeds. Perfect for planning trips or events. 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_weather_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | City name. Required if latitude/longitude not provided. | |
| days | No | Number of forecast days (1-16, default: 7) | |
| 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. |