weather
weatherCurrent weather and daily forecast up to 16 days for any city name or coordinates: temperature, feels-like, humidity, precipitation, wind, day/night and a plain-language condition now, plus daily highs, lows, rain probability, wind and sunrise/sunset. Metric or imperial units; local timezone resolved automatically. Price: $0.002 USDC per call (x402).
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": "weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude (alternative to city) | |
| lng | No | Longitude (alternative to city) | |
| city | No | City name, optionally with country, e.g. 'Austin, US' | |
| days | No | Forecast days, 1-16 (default 3) | |
| units | No | metric (default) or imperial |