list_services
Retrieve custom firewall service port definitions from FortiGate, with optional VDOM and filter parameters.
Instructions
List custom firewall services (port definitions).
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 |