Skip to main content

OpenMeteo

OpenMeteo adds weather and location lookup capabilities.

Tools

ToolPurpose
geocodingResolve a location name into latitude and longitude coordinates.
weather-forecastGet current weather and a multi-day forecast for coordinates.

geocoding Inputs

InputRequiredDescription
locationyesLocation name to resolve.
country_codenoTwo-letter country code to narrow ambiguous matches.

weather-forecast Inputs

InputRequiredDescription
latitudeyesLatitude coordinate.
longitudeyesLongitude coordinate.
forecast_daysnoNumber of forecast days. Defaults to the configured forecast length.

Properties

Required OpenMeteo properties:

VariableDescription
LIGHTFLARE_TOOLS_OPENMETEO_ENABLEDSet to true.
LIGHTFLARE_TOOLS_OPENMETEO_ENABLED_TOOLSComma-separated tool allowlist. Use weather-forecast, geocoding, or both.

Optional Properties

VariableDefaultDescription
LIGHTFLARE_TOOLS_OPENMETEO_ENABLED_TOOLS[]Exposed OpenMeteo tools. Empty exposes no OpenMeteo tools.
LIGHTFLARE_TOOLS_OPENMETEO_GEOCODING_BASE_URLhttps://geocoding-api.open-meteo.comGeocoding API base URL.
LIGHTFLARE_TOOLS_OPENMETEO_FORECAST_BASE_URLhttps://api.open-meteo.comForecast API base URL.
LIGHTFLARE_TOOLS_OPENMETEO_DEFAULT_FORECAST_DAYS3Default forecast length.