Weather – Latest
weather_latestGet current-hour weather for a location by place name or coordinates. Returns a single record with temperature, humidity, wind, UV index, and visibility.
Instructions
Returns the latest weather observation for a location: temperature, apparent temperature, humidity, dew point, pressure, cloud cover, precipitation, wind speed/gust/bearing, UV index, ozone, visibility, and a human-readable summary. Returns a single record for the current hour, or no data if none is available.
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_latest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude of the location, -90 to 90. Required if place is not provided. | |
| lng | No | Longitude of the location, -180 to 180. Required if place is not provided. | |
| place | No | Place or city name, e.g. "Bengaluru". Required if lat/lng are not provided. Never send both place and lat/lng. | |
| units | No | Unit system for the weather values. Defaults to imperial. | |
| locale | No | If true, the response includes a localTime field alongside each record. |