send_control_command
Send control commands to IoT devices by specifying device ID, attribute point, and value. Set an optional timeout for the command execution.
Instructions
向设备发送控制命令
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": {
"deviceId": "<deviceId>",
"tagName": "<tagName>",
"value": "<value>"
},
"name": "send_control_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | 设备ID | |
| tagName | Yes | 属性点名称 | |
| value | Yes | 控制值(可以是数字、字符串、布尔值等) | |
| timeout | No | 超时时间(秒),默认30秒 |