geoip_lookup
Resolve an IPv4 address to its FortiGuard geolocation country through a specified FortiGate device, with optional VDOM scoping for accurate GeoIP context.
Instructions
Resolve an IP address to its FortiGuard geolocation (country) via the device.
Parameters:
device_id: Identifier of the FortiGate device
ip: IPv4 address
vdom: Virtual Domain name (optional)
Returns:
Country and related GeoIP fields
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": {
"device_id": "<device_id>",
"ip": "<ip>"
},
"name": "geoip_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ip | Yes | IPv4 address | |
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |