Radar Ip Geocode
radar_ip_geocodeGeolocate an IP address to city/state/country and approximate coordinates using Radar. Omit ip to geolocate the caller. Example: radar_ip_geocode({ ip: "8.8.8.8", apiKey: "prj_live_sk..." })
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ip": "8.8.8.8",
"_apiKey": "your-radar-api-key"
},
"name": "radar_ip_geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | No | Optional IPv4/IPv6 address to geolocate, e.g. "8.8.8.8". If omitted, Radar geolocates the request origin. | |
| _apiKey | Yes | Radar API key (a secret prj_live_sk_... key is required to pass an explicit ip) |