get_ip_city
Retrieve the city location for any IP address. When no IP is specified, it returns the city of your current connection. This tool provides quick geolocation data for IP analysis.
Instructions
Get just the city for an IP address.
Args: ip: IP address to lookup. If None, returns current city.
Returns: City name.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ip | No |
Input Schema (JSON Schema)
{
"properties": {
"ip": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ip"
}
},
"type": "object"
}