list_port_forwards
List FortiGate virtual IPs for port forwarding or static NAT and show the firewall policies that reference each one, with optional VDOM, filter, and field formatting.
Instructions
List virtual IPs (port forwards / static NAT) and the policies that use each one.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_port_forwards"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | VDOM (default: FORTIGATE_VDOM, usually root) | |
| filter | No | FortiOS filter expression, e.g. name=@k3s (contains) or action==accept | |
| format | No | Only return these fields, '|'-separated, e.g. policyid|name|action |