Get Weather Forecast
get-forecastRetrieve a five-period weather forecast for any US location using latitude and longitude coordinates from the National Weather Service.
Instructions
Get weather forecast for a location
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 | The forecast periods, soonest first | |
| latitude | Yes | Latitude the forecast is for | |
| longitude | Yes | Longitude the forecast is for |