snmp_community_remove
Removes an allow-listed default SNMP community after verifying the configured community is mapped to a restricted view; defaults to a dry run and never deletes the configured community.
Instructions
Remove an allow-listed default community (public or private).
Refuses unless the configured SWITCH_SNMP_COMMUNITY community is present and mapped to a restricted allow-listed view. Never removes the configured community itself. Does not save. Gate with hub unlock.
dry_run=true (default) runs the read-only prechecks and returns the commands the
first configuration step would send; nothing is sent.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": {
"name": "<name>"
},
"name": "snmp_community_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| dry_run | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |