zwave_set_value
Set a Z-Wave device value on a specified node and receive the command outcome status, helping you control your Z-Wave network devices through MCP.
Instructions
Set a Z-Wave value and report the command outcome.
value_id is the id from zwave_node_values (e.g. "5-38-0-targetValue").
value must match the value's type (a number, bool, or string as its
metadata describes). Returns the command status (SUCCESS, WORKING, FAIL,
QUEUED for a sleeping node, etc.) with any message. Raises ValueError for
an unknown node id; the value must exist on the node and be writeable.
Args: node_id: The Z-Wave node id, e.g. 5 value_id: The value id from zwave_node_values value: The new value to set
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": {
"node_id": "<node_id>",
"value_id": "<value_id>",
"value": "<value>"
},
"name": "zwave_set_value"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| node_id | Yes | ||
| value_id | Yes |