Open Meteo Tools

Configuration File: open_meteo_tools.json Tool Type: Local Tools Count: 4

This page contains all tools defined in the open_meteo_tools.json configuration file.

Available Tools

OpenMeteo_geocode_location (Type: BaseRESTTool)

Search for city/location coordinates using Open-Meteo’s free geocoding API. Returns latitude, lon…

OpenMeteo_geocode_location tool specification

Tool Information:

  • Name: OpenMeteo_geocode_location

  • Type: BaseRESTTool

  • Description: Search for city/location coordinates using Open-Meteo’s free geocoding API. Returns latitude, longitude, country, timezone, elevation, and population for matching locations. Use this to get coordinates before calling OpenMeteo_get_weather_forecast or OpenMeteo_get_historical_weather. Covers 300,000+ cities worldwide.

Parameters:

  • name (string) (required) City or location name to search (e.g., ‘London’, ‘New York’, ‘Tokyo’, ‘Paris’, ‘Berlin’, ‘Sydney’)

  • count ([‘integer’, ‘null’]) (optional) Number of results to return (default 10, max 100)

  • language ([‘string’, ‘null’]) (optional) Language for result names (e.g., ‘en’, ‘de’, ‘fr’, ‘ja’, ‘zh’). Default ‘en’.

Example Usage:

query = {
    "name": "OpenMeteo_geocode_location",
    "arguments": {
        "name": "example_value"
    }
}
result = tu.run(query)

OpenMeteo_get_air_quality (Type: BaseRESTTool)

Get current and forecasted air quality data for any location using Open-Meteo’s free air quality …

OpenMeteo_get_air_quality tool specification

Tool Information:

  • Name: OpenMeteo_get_air_quality

  • Type: BaseRESTTool

  • Description: Get current and forecasted air quality data for any location using Open-Meteo’s free air quality API. Returns PM2.5, PM10, ozone, nitrogen dioxide, carbon monoxide, European Air Quality Index (AQI), and more. Data sourced from CAMS (Copernicus Atmosphere Monitoring Service). No API key required.

Parameters:

  • latitude (number) (required) Latitude in decimal degrees (e.g., 51.5 for London, 40.7 for New York)

  • longitude (number) (required) Longitude in decimal degrees (e.g., -0.12 for London, -74.0 for New York)

  • current ([‘string’, ‘null’]) (optional) Comma-separated current variables (e.g., ‘pm10,pm2_5,carbon_monoxide,nitrogen_dioxide,ozone,european_aqi,us_aqi’)

  • hourly ([‘string’, ‘null’]) (optional) Comma-separated hourly variables (e.g., ‘pm10,pm2_5,ozone,nitrogen_dioxide,european_aqi’)

Example Usage:

query = {
    "name": "OpenMeteo_get_air_quality",
    "arguments": {
        "latitude": "example_value",
        "longitude": "example_value"
    }
}
result = tu.run(query)

OpenMeteo_get_historical_weather (Type: BaseRESTTool)

Get historical weather data for any location from Open-Meteo ERA5 reanalysis archive (1940-presen…

OpenMeteo_get_historical_weather tool specification

Tool Information:

  • Name: OpenMeteo_get_historical_weather

  • Type: BaseRESTTool

  • Description: Get historical weather data for any location from Open-Meteo ERA5 reanalysis archive (1940-present). Free, no API key required. Returns daily or hourly historical weather including temperature, precipitation, wind speed, solar radiation, snowfall, and more. Useful for climate analysis, anomaly detection, and historical research. Use OpenMeteo_geocode_location to get coordinates from city names.

Parameters:

  • latitude (number) (required) Latitude in decimal degrees (e.g., 51.5 for London, 40.7 for New York)

  • longitude (number) (required) Longitude in decimal degrees (e.g., -0.12 for London, -74.0 for New York)

  • start_date (string) (required) Start date in YYYY-MM-DD format (e.g., ‘2023-01-01’). Data available from 1940-01-01.

  • end_date (string) (required) End date in YYYY-MM-DD format (e.g., ‘2023-12-31’). Maximum range: a few months per request.

  • daily ([‘string’, ‘null’]) (optional) Comma-separated daily variables (e.g., ‘temperature_2m_max,temperature_2m_min,precipitation_sum,wind_speed_10m_max,sunshine_duration’)

  • hourly ([‘string’, ‘null’]) (optional) Comma-separated hourly variables (e.g., ‘temperature_2m,precipitation,wind_speed_10m,relative_humidity_2m’)

  • timezone ([‘string’, ‘null’]) (optional) Timezone (e.g., ‘Europe/London’, ‘America/New_York’, ‘auto’)

Example Usage:

query = {
    "name": "OpenMeteo_get_historical_weather",
    "arguments": {
        "latitude": "example_value",
        "longitude": "example_value",
        "start_date": "example_value",
        "end_date": "example_value"
    }
}
result = tu.run(query)

OpenMeteo_get_weather_forecast (Type: BaseRESTTool)

Get current weather and forecasts for any location using Open-Meteo (free, no API key needed). Re…

OpenMeteo_get_weather_forecast tool specification

Tool Information:

  • Name: OpenMeteo_get_weather_forecast

  • Type: BaseRESTTool

  • Description: Get current weather and forecasts for any location using Open-Meteo (free, no API key needed). Returns current conditions and hourly/daily forecasts up to 16 days. Essential for weather-aware applications, research, and decision making. Supports 170+ weather variables including temperature, precipitation, wind, humidity, UV index, cloud cover, and more. Latitude/longitude required (use OpenMeteo_geocode_location to get coordinates from city names). Example: latitude=51.5, longitude=-0.12 for London.

Parameters:

  • latitude (number) (required) Latitude in decimal degrees (e.g., 51.5 for London, 40.7 for New York, 35.7 for Tokyo)

  • longitude (number) (required) Longitude in decimal degrees (e.g., -0.12 for London, -74.0 for New York, 139.7 for Tokyo)

  • current ([‘string’, ‘null’]) (optional) Comma-separated current weather variables (e.g., ‘temperature_2m,wind_speed_10m,precipitation,weather_code,relative_humidity_2m,surface_pressure’)

  • daily ([‘string’, ‘null’]) (optional) Comma-separated daily forecast variables (e.g., ‘temperature_2m_max,temperature_2m_min,precipitation_sum,wind_speed_10m_max,uv_index_max’)

  • hourly ([‘string’, ‘null’]) (optional) Comma-separated hourly variables (e.g., ‘temperature_2m,precipitation_probability,wind_speed_10m,relative_humidity_2m’)

  • forecast_days ([‘integer’, ‘null’]) (optional) Number of forecast days (1-16, default 7)

  • timezone ([‘string’, ‘null’]) (optional) Timezone for local time (e.g., ‘Europe/London’, ‘America/New_York’, ‘Asia/Tokyo’, ‘auto’ to detect from location)

Example Usage:

query = {
    "name": "OpenMeteo_get_weather_forecast",
    "arguments": {
        "latitude": "example_value",
        "longitude": "example_value"
    }
}
result = tu.run(query)