← Tools Reference

WeatherAPI

WeatherAPI integration (Location, Data). Imported from open-connector.

API key5 toolshttps://api.weatherapi.com/v1
GET
weatherapi_search_locations
Search locations supported by WeatherAPI.

/search.json

1 parameter
ParamTypeRequiredDescription
querystringrequiredLocation query accepted by WeatherAPI, such as a city name, coordinates, or loc…
GET
weatherapi_get_current_weather
Get current weather conditions for a WeatherAPI location query.

/current.json

2 parameters
ParamTypeRequiredDescription
querystringrequiredLocation query accepted by WeatherAPI, such as a city name, coordinates, or loc…
languagestringoptionalOptional language code used by WeatherAPI to localize text fields.
GET
weatherapi_get_forecast
Get weather forecast data for a WeatherAPI location query.

/forecast.json

4 parameters
ParamTypeRequiredDescription
querystringrequiredLocation query accepted by WeatherAPI, such as a city name, coordinates, or loc…
daysintegerrequiredNumber of forecast days to request, between 1 and 14.
datestringoptionalDate string in YYYY-MM-DD format used by WeatherAPI date-aware endpoints.
languagestringoptionalOptional language code used by WeatherAPI to localize text fields.
GET
weatherapi_get_astronomy
Get astronomy information for a WeatherAPI location query and date.

/astronomy.json

2 parameters
ParamTypeRequiredDescription
querystringrequiredLocation query accepted by WeatherAPI, such as a city name, coordinates, or loc…
datestringrequiredDate string in YYYY-MM-DD format for astronomy lookup.
GET
weatherapi_get_timezone
Get timezone information for a WeatherAPI location query.

/timezone.json

1 parameter
ParamTypeRequiredDescription
querystringrequiredLocation query accepted by WeatherAPI, such as a city name, coordinates, or loc…