Get weather forecast
get-forecastRetrieve upcoming weather forecasts for a city covering 1–7 days and select Celsius or Fahrenheit to plan daily activities.
Instructions
Get weather forecast for upcoming days
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 | The city name to get forecast for | |
| days | No | Number of forecast days (1-7, default: 3) | |
| unit | No | Temperature unit (default: celsius) |