list_switch_port_stats
Retrieves FortiSwitch port statistics for a FortiGate device, enabling monitoring of switch port performance and status.
Instructions
Show FortiSwitch port statistics (monitor/switch-controller/port-stats).
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_switch_port_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |