set_guard_zone
Arm or disarm a specified security zone on a ZONT device using the device ID, zone ID, and an enable flag. Use it to change whether that zone is guarded.
Instructions
Поставить охранную зону на охрану или снять с охраны.
Параметры: device_id: идентификатор устройства. zone_id: идентификатор охранной зоны (из get_guard_zones). enable: True — поставить на охрану, False — снять с охраны.
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>",
"zone_id": "<zone_id>",
"enable": "<enable>"
},
"name": "set_guard_zone"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enable | Yes | ||
| zone_id | Yes | ||
| device_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |