Device Parents Set
device_parents_setSet or replace a device's dependency parents to control alert suppression in LibreNMS; include all parents the device should keep because the list is synced.
Instructions
Set the dependency parents of a device.
Parents drive alert suppression: a device whose parent is down is not alerted on its own. LibreNMS replaces the device's parents with the given ones (it syncs the set), so pass every parent the device should keep. A device cannot be its own parent.
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": {
"hostname": "<hostname>",
"parent_ids": "<parent_ids>"
},
"name": "device_parents_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | Device hostname or device ID | |
| parent_ids | Yes | Comma-separated parent device IDs or hostnames; replaces the current parents |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||