list_interfaces
Lists network interfaces on a FortiGate device to show physical ports, VLANs, virtual interfaces, IP configurations, status, and zone assignments.
Instructions
List all network interfaces configured on a FortiGate device.
This tool retrieves information about all network interfaces, including physical ports, VLANs, and virtual interfaces.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional, uses device default)
Returns:
Interface names and types
IP address configurations
Interface status (up/down)
VLAN and zone assignments
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>"
},
"name": "list_interfaces"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |