get_device_commands
Retrieve the commands a device accepts, including each command's name, label, and expected parameters, by providing its public device ID.
Instructions
List the commands a device accepts: name, label, and the params each one expects.
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>"
},
"name": "get_device_commands"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| deviceId | Yes | The device's public id, e.g. dev_a1b2c3. |