Current weather
get_current_weatherLook up current weather for a city or coordinates and get temperature, feels-like, humidity, precipitation, wind, and conditions in your chosen units.
Instructions
Get current weather conditions for a location. Specify EITHER a "city" name (it will be geocoded automatically) OR explicit "latitude" and "longitude". Returns temperature, "feels like", humidity, precipitation, wind, and a human-readable condition.
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": {
"temperature_unit": "<temperature_unit>",
"wind_speed_unit": "<wind_speed_unit>"
},
"name": "get_current_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Place name to geocode, e.g. "Tokyo", "Paris, France", "Austin TX". Provide this OR latitude+longitude. | |
| latitude | No | Latitude in decimal degrees. Provide with longitude to skip geocoding. | |
| longitude | No | Longitude in decimal degrees. Provide with latitude to skip geocoding. | |
| wind_speed_unit | Yes | Unit for wind speed (km/h, m/s, mph, knots). | kmh |
| temperature_unit | Yes | Unit for temperature values. | celsius |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| is_day | Yes | ||
| location | Yes | ||
| condition | Yes | Human-readable weather description (from WMO code). | |
| wind_speed | Yes | ||
| observed_at | Yes | ISO-8601 timestamp of the observation (local time). | |
| temperature | Yes | ||
| weather_code | Yes | ||
| precipitation | Yes | ||
| wind_direction | Yes | Degrees, meteorological (0 = from North). | |
| wind_speed_unit | Yes | ||
| temperature_unit | Yes | ||
| relative_humidity | Yes | Percent, 0-100. | |
| apparent_temperature | Yes | "Feels like" temperature. |