update_device_settings
Update scalar top-level fields of a ZONT device, such as name or note. Use specialized settings tools for heating circuits, modes, sensors, and curves, because this method ignores nested config sections.
Instructions
Изменить СКАЛЯРНЫЕ поля устройства (метод API update_device).
Параметры: device_id: идентификатор устройства. device_settings: плоский словарь скалярных полей, например: {"name": "Новое имя", "individual_device_note": "заметка"}
ВАЖНО (обратный анализ веб-приложения, 2026-10-25): update_device применяет ТОЛЬКО скалярные поля верхнего уровня. Секции z3k_config (контуры, режимы, датчики, кривые) этим методом НЕ записываются — сервер отвечает ok, но молча игнорирует их. Для секций используйте специализированные инструменты группы «Настройки» (update_heating_circuit_settings и другие) — они пишут через save_z3k_config и проверяют применение перечитыванием.
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": {
"device_id": "<device_id>",
"device_settings": "<device_settings>"
},
"name": "update_device_settings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| device_settings | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |