Device Rename
device_renameRename a device in LibreNMS by specifying its current hostname or ID and the desired new hostname. Correct or update device names to maintain accurate monitoring records.
Instructions
Rename a device 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>",
"new_hostname": "<new_hostname>"
},
"name": "device_rename"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hostname | Yes | Current device hostname or ID | |
| new_hostname | Yes | New hostname for the device |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||