Rename device
rename_deviceRename a smart home device in Domoticz by providing its numeric idx or current name, then setting the new name to update the device.
Instructions
Rename device. Preferred: idx.
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": {
"new_name": "<new_name>"
},
"name": "rename_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idx | No | Numeric Domoticz idx; preferred over name when known | |
| new_name | Yes | New device name | |
| old_name | No | Current device name, used when idx is omitted |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional Domoticz response title | |
| status | Yes | Status returned by Domoticz, normally OK |