sprut_set_characteristic
Set any characteristic on a SprutHub accessory—brightness, temperature, mode—by specifying accessory, service, characteristic IDs and target value.
Instructions
Set any characteristic on an accessory (brightness, temperature, mode, etc.).
Args: accessory_id: The ID of the accessory. service_id: The ID of the service (sId). characteristic_id: The ID of the characteristic (cId). value: The target value to set (boolean, integer, float, or string).
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": {
"accessory_id": "<accessory_id>",
"service_id": "<service_id>",
"characteristic_id": "<characteristic_id>",
"value": "<value>"
},
"name": "sprut_set_characteristic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | ||
| service_id | Yes | ||
| accessory_id | Yes | ||
| characteristic_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |