Update user variable
update_user_variableUpdate an existing Domoticz user variable by specifying its name, type, and new value to keep home automation data current.
Instructions
Update var value. Cross-ref: domoticz://user-variables.
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": {
"name": "<name>",
"vtype": "<vtype>",
"value": "<value>"
},
"name": "update_user_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Existing user variable name | |
| value | Yes | New user variable value | |
| vtype | Yes | Variable type: 0 integer, 1 float, 2 string, 3 date, 4 time |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional Domoticz response title | |
| status | Yes | Status returned by Domoticz, normally OK |