get_weather
Retrieve current weather conditions and a multi-day forecast for any city, region, or country. Specify location and optional forecast days from 1 to 7.
Instructions
Get current conditions and a weather forecast for a place.
Args: location: A city, region, or country name, such as "London" or "Tokyo". forecast_days: Number of forecast days to return, from 1 through 7.
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": {
"location": "<location>"
},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | Yes | ||
| forecast_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |