list_snmp_communities
Lists SNMP v1/v2c communities and associated hosts for a FortiGate device, with community strings redacted, so you can audit SNMP access without exposing secrets.
Instructions
List SNMP v1/v2c communities and their hosts (community strings redacted).
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_snmp_communities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |