get_current_weather
Retrieve real-time weather data for a specified city using OpenWeatherMap. Accepts city name and measurement units (metric or imperial) to provide current weather conditions.
Instructions
Get current weather for a city using OpenWeatherMap.
Args:
city: City name (e.g. 'London', 'New York')
units: Units of measurement ('metric' or 'imperial')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
city | Yes | ||
units | No | metric |
Input Schema (JSON Schema)
{
"properties": {
"city": {
"title": "City",
"type": "string"
},
"units": {
"default": "metric",
"title": "Units",
"type": "string"
}
},
"required": [
"city"
],
"title": "get_current_weatherArguments",
"type": "object"
}