Get current weather for a city
Retrieve current weather information for a specified location using WeatherAPI.com.
**Features:**
- Real-time weather data from WeatherAPI.com
- Support for city names or coordinates (lat/lon)
- Support for multiple temperature units (metric, imperial, kelvin)
- Comprehensive weather information including temperature, humidity, wind, visibility, and UV index
- Authentication required for all requests
**Location Input:**
- **City-based**: Provide `city` parameter (e.g., "London", "New York")
- **Coordinate-based**: Provide `lat` and `lon` parameters (e.g., 51.5074, -0.1278)
- Either city OR coordinates must be provided
**Authentication:**
- Requires valid Bearer token
- Test tokens available for development: `test-jwt-token`, `agent-jwt-token`
- Production tokens verified with external auth service
**Rate Limits:**
- Subject to WeatherAPI.com rate limits
- 10-second timeout for external API calls
**Examples:**
- London: `/api/context/weather/current?city=London`
- New York with imperial units: `/api/context/weather/current?city=New%20York&units=imperial`
- Tokyo with country code: `/api/context/weather/current?city=Tokyo&country=JP`
- Coordinates: `/api/context/weather/current?lat=51.5074&lon=-0.1278`
Authentication
AuthorizationBearer
JWT token obtained from the Auth API
Headers
Query parameters
city
City name (required if coordinates not provided)
country
Country code for disambiguation (optional)
lat
Latitude coordinate (required if city not provided)
lon
Longitude coordinate (required if city not provided)
units
Temperature units (default: metric)
Response
Current weather data retrieved successfully
