remove_device
Delete a device and its subtree; if referenced by zones, logic, or plans, the call fails listing them, or force removes them as well.
Instructions
Удалить устройство вместе с поддеревом. Если на него ссылаются зоны, логика или объекты на планах, вызов отказывает и перечисляет ссылки; force=true удаляет вместе с ними.
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": {
"handle": "<handle>",
"device": "<device>"
},
"name": "remove_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| device | Yes | ||
| handle | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||