send_sub_device_command
Send a command to a specific sub-device behind a master device instead of the master itself, allowing control of individual endpoints via Nexalware's opaque relay.
Instructions
Send a command to one specific sub-device behind a master, instead of the master itself. Not validated against a catalog, Nexalware relays it opaquely, the master and sub-device interpret it.
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>",
"subDeviceId": "<subDeviceId>",
"cmd": "<cmd>"
},
"name": "send_sub_device_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | Command name, whatever the sub-device declared it accepts. | |
| params | No | Arguments for this command, only if its command definition declares a paramsSchema. | |
| deviceId | Yes | The master device's public id. | |
| subDeviceId | Yes | The sub-device's public id, e.g. sub_x1y2z3. |