weather
Weather forecast API, current weather by city name or coordinates, worldwide. Current weather and forecast for any city (e.g. city=London or city=Portland, OR) or any latitude and longitude: temperature, feels, wind, humidity, precipitation and conditions now, the next 12 hours, and daily highs, lows and rain for up to 9 days. Worldwide from MET Norway (CC BY 4.0); source=nws uses the US National Weather Service for US locations. Metric with US units added. Price: $0.002 per call (x402, USDC on Base).
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 | ||
| lon | No | ||
| city | No | ||
| source | No | met | |
| country | No |