get_weather_by_coordinates
Fetch real-time weather data for a specific location by providing latitude, longitude, and preferred units (metric or imperial) using OpenWeatherMap. Ideal for applications requiring precise weather conditions.
Instructions
Get current weather by coordinates using OpenWeatherMap.
Args:
latitude: Latitude of the location
longitude: Longitude of the location
units: Units of measurement ('metric' or 'imperial')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
latitude | Yes | ||
longitude | Yes | ||
units | No | metric |
Input Schema (JSON Schema)
{
"properties": {
"latitude": {
"title": "Latitude",
"type": "number"
},
"longitude": {
"title": "Longitude",
"type": "number"
},
"units": {
"default": "metric",
"title": "Units",
"type": "string"
}
},
"required": [
"latitude",
"longitude"
],
"title": "get_weather_by_coordinatesArguments",
"type": "object"
}