weather
Get current weather conditions and a 7-day forecast for any location worldwide. Input a city name or coordinates to receive temperature, humidity, wind, precipitation, and forecast highs/lows.
Instructions
Current weather conditions and 7-day daily forecast for any location worldwide. Input a city name, coordinates, or address. Returns temperature (°C), humidity, wind speed, precipitation, weather code, and a forecast with high/low temps and precipitation totals. Free upstream: Open-Meteo (no API key, no rate limits). Useful for DeFi agents tracking energy markets (cold → heating demand → gas prices), agricultural commodity prediction markets, or natural disaster risk assessment for on-chain insurance.
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 |
|---|---|---|---|
| location | No | City name, region, or address (e.g. 'New York', 'London UK', 'Tokyo'). Use this OR latitude/longitude. | |
| latitude | No | Latitude in decimal degrees (-90 to 90). Use with longitude instead of location name. | |
| longitude | No | Longitude in decimal degrees (-180 to 180). Use with latitude instead of location name. | |
| forecast_days | No | Number of forecast days (1–16). Default 7. |