list_services
List custom service objects (protocol and port ranges) on FortiGate devices. Use this to view defined services for firewall policy configuration.
Instructions
List custom service objects (protocol and port ranges).
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_services"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Target VDOM. Omit to use the device/api-user default. | |
| device | No | Device name from the config. May be omitted when only one device is configured. |