Get Weather Forecast
get-forecastGet the weather forecast for a point on the map. Give latitude and longitude and get the next five forecast periods for it: the period name, its temperature, wind speed and direction, and the plain-language forecast. US locations only. No API key and no account: discovery is free, a call costs $0.01 in USDC on Base via x402, and nothing is charged when the request returns no data. Free tools: health and tools/list.
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": {
"latitude": "<latitude>",
"longitude": "<longitude>"
},
"name": "get-forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latitude | Yes | Latitude of the location | |
| longitude | Yes | Longitude of the location |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| periods | Yes | ||
| latitude | Yes | ||
| longitude | Yes |