Change a monitor's alert settings
vs_monitors_update_alertingChange where a monitor sends alerts and when: alert channels, failed checks before a down alert, delay, slow limit, slow checks before a slow alert, and repeat alerts. Only the fields sent 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_monitors_update_alerting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Monitor id. | |
| alertDelay | No | Seconds to wait before sending a down alert. | |
| alertThreshold | No | Failed checks in a row before a down alert (1 or more). | |
| maxResponseTime | No | Slow limit in milliseconds (100 to 30000). A check slower than this counts as slow. | |
| slowAlertThreshold | No | Slow checks in a row before a slow-response alert (1 to 10). | |
| notificationChannelIds | No | Alert channel ids this monitor sends to (replaces the current list). | |
| notificationRepeatInterval | No | Minutes until a reminder while still down; after that, one reminder a day (0 sends none, up to 1440). |