get_weather_forecast
Fetch accurate weather forecasts for any city up to 5 days ahead. Specify city, duration, and units ('metric' or 'imperial') to retrieve detailed weather data using OpenWeatherMap.
Instructions
Get weather forecast for a city using OpenWeatherMap.
Args:
city: City name (e.g. 'London', 'New York')
days: Number of days (1-5)
units: Units of measurement ('metric' or 'imperial')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
city | Yes | ||
days | No | ||
units | No | metric |
Input Schema (JSON Schema)
{
"properties": {
"city": {
"title": "City",
"type": "string"
},
"days": {
"default": 3,
"title": "Days",
"type": "integer"
},
"units": {
"default": "metric",
"title": "Units",
"type": "string"
}
},
"required": [
"city"
],
"title": "get_weather_forecastArguments",
"type": "object"
}