weather_forecast
Get hourly weather forecast up to 9 days ahead for a latitude/longitude: daily min/max temperature, precipitation, weather symbol, plus hourly rows. Costs $0.005 USDC per call, paid via x402 on Base.
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": {
"lat": "<lat>",
"lon": "<lon>"
},
"name": "weather_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, e.g. -6.2088 (Jakarta) | |
| lon | Yes | Longitude, e.g. 106.8456 (Jakarta) | |
| days | No | Number of days ahead (1-9, default 3) |