list_service_groups
List service groups in a FortiManager ADOM, with optional name filter, returning group count and objects.
Instructions
List service groups in an ADOM.
Args: adom: ADOM name (default: from DEFAULT_ADOM env var, or "root") name_filter: Filter by name (partial match)
Returns: dict: Group list with keys: - status: "success" or "error" - count: Number of groups - groups: List of service group objects - message: Error message if failed
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_service_groups"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| adom | No | ||
| name_filter | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||