send_command
Send a command to an authorized device through @nexalware/mcp after checking valid command names and parameters; requests are rejected without device or command permission.
Instructions
Send a command to a device. Check get_device_commands first for valid cmd names and expected params. Rejected if the calling key has no permission for this device/command.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cmd | Yes | Command name, matches one of get_device_commands' results. | |
| params | No | Arguments for this command, only if its command definition declares a paramsSchema. | |
| deviceId | Yes | The device's public id, e.g. dev_a1b2c3. |