get_weather_forecast
Need a weather forecast? Retrieve a 5-day prediction for any city with options for metric or imperial units.
Instructions
Get 5-day weather forecast for a specific city
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_weather_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name (e.g., "Taipei", "Tokyo", "New York") | |
| units | No | Temperature units: "metric" (Celsius) or "imperial" (Fahrenheit) | metric |