Change a server
vs_servers_updateChange a server's details, alert limits and channels, or put it in maintenance until a time. Send only the fields to change.
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": {
"id": "<id>"
},
"name": "vs_servers_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Server id. | |
| os | No | LINUX (default) or MACOS, for the server agent. | |
| name | No | Display name. | |
| tags | No | ||
| status | No | Set MAINTENANCE (with maintenanceUntil) to hold alerts back. | |
| hostname | No | Host name of the server, unique in the workspace. | |
| ipAddress | No | Optional IPv4 or IPv6 address. | |
| alertDelay | No | Seconds to wait before alerting (0 to 86400). | |
| description | No | ||
| environment | No | For example production (default) or staging. | |
| alertEnabled | No | false stops this server's alerts. | |
| cpuThreshold | No | CPU percent that triggers an alert (1 to 100). | |
| alertCooldown | No | Seconds between repeat alerts (0 to 86400). | |
| diskThreshold | No | Disk percent that triggers an alert (1 to 100). | |
| loadCritRatio | No | Load per CPU core that is critical (0.1 to 8). | |
| loadWarnRatio | No | Load per CPU core that warns (0.1 to 8). | |
| monitoringMode | No | AGENT (install the Visual Sentinel agent on the server) or MANAGED_HOST (shared or managed hosting with no agent). | |
| hostingProvider | No | With MANAGED_HOST: HOSTINGER or OTHER. | |
| memoryThreshold | No | Memory percent that triggers an alert (1 to 100). | |
| maintenanceUntil | No | ISO 8601 end of server maintenance; null clears it. | |
| hostingAccountKey | No | With MANAGED_HOST: the hosting account the sites share. | |
| consecutiveThreshold | No | Readings over a limit in a row before an alert (1 to 20). | |
| notificationChannelIds | No | Alert channel ids for this server's alerts. |