Get Current Weather
get_current_weatherRetrieve current weather conditions for a city, including temperature, humidity, wind, and sky condition. Provide a city name and optional country code to disambiguate locations.
Instructions
Get the current weather conditions for a city (temperature, humidity, wind and sky 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": {
"city": "<city>"
},
"name": "get_current_weather"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | City name, e.g. 'São Paulo' or 'Tokyo' | |
| country | No | Optional ISO-3166 country code to disambiguate, e.g. 'BR' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| time | Yes | Observation timestamp, ISO 8601 | |
| humidity | Yes | Relative humidity, percent | |
| location | Yes | ||
| condition | Yes | Human-readable sky condition | |
| windSpeed | Yes | Wind speed in km/h | |
| temperature | Yes | Air temperature in °C | |
| apparentTemperature | Yes | Feels-like temperature in °C |