send-command
Send commands like restart, update, or status to NodeMCU/ESP8266 IoT devices remotely via the MCP server. Specify device ID and optional parameters for efficient device management.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | The command to send (restart, update, status, etc.) | |
deviceId | Yes | The ID of the device to send the command to | |
params | No | Optional parameters for the command |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"command": {
"description": "The command to send (restart, update, status, etc.)",
"type": "string"
},
"deviceId": {
"description": "The ID of the device to send the command to",
"type": "string"
},
"params": {
"additionalProperties": {},
"description": "Optional parameters for the command",
"type": "object"
}
},
"required": [
"deviceId",
"command"
],
"type": "object"
}