peerglass_geo_lookup
Determine geographic location from IP addresses to identify city, region, country, coordinates, and timezone data using MaxMind GeoLite2 databases.
Instructions
Look up the geographic location of an IP address using MaxMind GeoLite2.
Returns city, region, country, coordinates, and timezone when available. Requires the PEERGLASS_GEOIP_DB environment variable pointing to a GeoLite2-City.mmdb file (free download from maxmind.com with account).
Args: params (GeoLookupInput): - ip (str): IPv4 or IPv6 address - response_format (str): 'markdown' (default) or 'json'
Returns: str: City, region, country, coordinates, timezone, EU membership.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |