IP / domain geolocation
ip_lookupLook up the geolocation of an IPv4/IPv6 address or a domain name (a domain is resolved to an address first).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "ip_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for country/region names: en (default) or zh. | |
| target | Yes | IPv4/IPv6 address or domain name to look up. |