Turn anomaly detection on or off
set_anomaly_detectionUse this when the user wants FlareWarden to alert on unusual response times of a site, or unusual run times of a cron job, or to stop doing so or change how sensitive it is. Returns whether it is on, its sensitivity, and its recent anomalies. Turning it on costs one monitor; turning it off frees it. It learns for 3 days before reporting. Not for ordinary up or down alerts, which every monitor sends.
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": {
"site": "<site>",
"enabled": "<enabled>"
},
"name": "set_anomaly_detection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site | Yes | The site, by id, name or part of its URL. | |
| check | No | A cron job on the site, by id or name; leave out for the site's response times. | |
| enabled | Yes | True to turn it on (or change sensitivity), false to turn it off. | |
| sensitivity | No | low (fewer alerts), normal or high. |