get_weather
Retrieve current weather and a 1-3 day forecast from wttr.in for a specified city, airport code, or coordinates, or omit location to use the server's IP-based location.
Instructions
Get current weather and a forecast of up to three days from wttr.in. Omit location to use the server IP location.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of forecast days to return, from 1 to 3. | |
| language | No | Optional wttr.in language code, for example zh or en. | |
| location | No | City, airport code, or latitude,longitude. Omit for server IP location. |