zont_send_custom_command
Send a custom command to a ZONT or Mega SX device by providing the device ID and the command ID configured in its custom_controls settings.
Instructions
Отправить устройству (ZTC-7xx, Mega SX) пользовательскую команду.
Команды заданы в настроечной утилите. Идентификатор команды берётся из настройки custom_controls устройства (см. zont_list_devices).
device_id: ID устройства. command_id: ID команды.
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>",
"command_id": "<command_id>"
},
"name": "zont_send_custom_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| command_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||