Query OpenWeather current weather and 5-day forecast data and summarize conditions for a location...
Use the bundled script to fetch and summarize weather from OpenWeather 2.5/weather and 2.5/forecast.
This script runs inside a sandboxed environment with strict rules:
.venv/bin/python is allowed. Do not use bare python, python3, or any other interpreter.&&, ||, ;, |, >, <, $(...), or backticks.cd. Always use the relative path from the project root.--api-key or --city. The API key is injected by the sandbox proxy. Geocoding is not available inside the sandbox.--lat and --lon. Look up coordinates with WebSearch first..venv/bin/python plugins/weather-plugin/skills/weather-query/scripts/get_weather.pyAny command that does not match this format will be rejected.
Look up coordinates. Use WebSearch to find the latitude and longitude for the requested location. Example query: "Chicago Illinois latitude longitude".
Run the script with --lat and --lon. Do not use --city (geocoding requires an API call that is not available inside the sandbox).
Summarize the result for the user.
The only allowed Bash command format:
.venv/bin/python plugins/weather-plugin/skills/weather-query/scripts/get_weather.py --lat <LAT> --lon <LON>
Optional flags (append after coordinates):
.venv/bin/python plugins/weather-plugin/skills/weather-query/scripts/get_weather.py \
--lat 41.8781 \
--lon -87.6298 \
--units metric \
--lang en \
--hours 12 \
--days 5
.venv/bin/python with the relative path, --lat/--lon, and no shell operators.401 Unauthorized: the proxy may not be running. It must be started separately.references/openweather-current-forecast.md