send_command
Send commands like ON, OFF, or numeric values to control individual OpenHAB items.
Instructions
Send a command (ON, OFF, numeric value, etc.) to a single item.
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": {
"itemName": "<itemName>",
"command": "<command>"
},
"name": "send_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes | ||
| itemName | Yes |