execute_command
Execute any action on a specific hardware device by supplying its device ID and command name, plus optional params, enabling control of industrial machines and cameras.
Instructions
Execute an action or command on a specific hardware 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": {
"deviceId": "<deviceId>",
"command": "<command>"
},
"name": "execute_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | No | Optional parameter payload key-value pairs | |
| command | Yes | The command/action name to execute (e.g., "read_temp", "set_gpio", "capture_image") | |
| deviceId | Yes | The unique identifier of the device |