espconnect_send_command
Send a command to a specific ESPConnect device through its hub. Provide the hub and device IDs to execute remote actions on IoT devices.
Instructions
Send a command to an ESPConnect device
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>",
"esp_device_id": "<esp_device_id>",
"command": "<command>"
},
"name": "espconnect_send_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | Command to send | |
| device_id | Yes | ESPConnect hub device ID | |
| esp_device_id | Yes | ESPConnect device identifier |