get_forecast
Retrieve a 7-day weather forecast for any city. Includes daily high/low temperatures, precipitation, and weather condition codes.
Instructions
Get a 7-day weather forecast for any city.
Uses Open-Meteo (free, no key) after geocoding the city via Nominatim.
Returns daily high/low temps, precipitation, and weather codes.
Parameters:
city — City name to get forecast for (required), e.g. "London".
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": {
"city": "<city>"
},
"name": "get_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |