Update site variable
datto_update_site_variableUpdate an existing site variable's name, value, or masked status using its numeric ID and site UID.
Instructions
Update an existing site variable by its numeric ID.
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": {
"siteUid": "<siteUid>",
"variableId": "<variableId>"
},
"name": "datto_update_site_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New variable name | |
| value | No | New variable value | |
| masked | No | Mask (hide) the value in the UI | |
| siteUid | Yes | Site UID | |
| variableId | Yes | Variable ID |