get_forecast
Retrieve 5-day weather forecast with 3-hour intervals for any city. Enter city name and optional country code to get precise predictions.
Instructions
Get 5-day weather forecast with 3-hour intervals 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_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name (e.g., 'London', 'New York', 'Tokyo') | |
| country_code | No | Optional 2-letter country code (e.g., 'US', 'GB', 'IN') |