ping_from_device
Ping a host from the FortiGate itself to verify reachability from the firewall’s perspective, including through VPN tunnels, and return packet and round-trip statistics.
Instructions
Ping a host from the FortiGate itself (monitor/network/diag-icmp-ping), useful to check reachability from the firewall's own perspective (e.g. through a VPN tunnel).
Parameters:
device_id: Identifier of the FortiGate device
target: IPv4 address or hostname to ping
source_interface: Optional source interface
vdom: Virtual Domain name (optional)
Returns:
Packets sent/received and round-trip statistics as reported by the device
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>",
"target": "<target>"
},
"name": "ping_from_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| target | Yes | IPv4 address or hostname to ping | |
| device_id | Yes | FortiGate device identifier | |
| source_interface | No | Source interface |