snmp_view_create
Adds one allow-listed OID or alias subtree to an SNMP read view, with dry-run prechecks by default, and does not save the configuration.
Instructions
Add one allow-listed included subtree to an SNMP read view. Does not save.
Gate this in the hub with unlock. subtree must be an OID or alias from the fixed allowlist (interfaces / ifmib / power-ethernet). Refused for any view used as a write view, holding a writable column or an excluded entry; build write views with snmp_write_view_create. The CLI syntax is not live-confirmed; see the README.
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": {
"view_name": "<view_name>",
"subtree": "<subtree>"
},
"name": "snmp_view_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | ||
| subtree | Yes | ||
| view_name | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |