weather_forecast
Get an hourly weather forecast for the next 48 hours for a location.
You must provide EITHER:
lat and lng (if you already have or confidently know the coordinates), OR
place (a free-text place name, e.g. "Bengaluru", "New York") — the API resolves this to a location itself, so do not try to geocode it yourself first, and do not call any other tool before this one.
Do not pass both lat/lng and place at once — pick one form.
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_forecast"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the location (omit if using `place`). | |
| lng | No | Longitude of the location (omit if using `place`). | |
| place | No | Free-text place name like a city, street, or postcode with country (omit if using `lat`/`lng`). locale: Optional. If set, adds local time to each hourly record. | |
| units | No | Optional. you can pass any of these three imperial, metric, si. | |
| locale | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||