Device Update
device_updateUpdate LibreNMS device fields such as notes, location, poller group, and polling status by hostname or ID to manage monitoring settings.
Instructions
Update device fields in LibreNMS.
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>",
"payload": "<payload>"
},
"name": "device_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| payload | Yes | Patchable device fields: - notes: Device notes/comments - purpose: Device purpose description - override_sysLocation: true/false to override SNMP location - location_id: Location ID to assign - poller_group: Poller group ID - ignore: 0/1 to ignore device in alerts - disabled: 0/1 to disable polling - snmp_disable: 0/1 to disable SNMP polling - display_template: Custom display name template (LibreNMS >= 26.5) - display: Custom display name (LibreNMS < 26.5 only; read-only since 26.5, use display_template) - type: Device type classification | |
| hostname | Yes | Device hostname or ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||