run_scenario
Execute a scenario configured in the ZONT web cabinet on a specific device to apply its saved chain of actions and automate heating control.
Instructions
Запустить сценарий (цепочку действий, настроенную в веб-кабинете).
Параметры: device_id: идентификатор устройства. scenario_id: идентификатор сценария (из get_config → custom_controls или раздела «Сценарии» кабинета).
Сценарий выполняет ровно те действия, которые настроены в кабинете.
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>",
"scenario_id": "<scenario_id>"
},
"name": "run_scenario"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_id | Yes | ||
| scenario_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |