create_threshold_alert
Set up automated monitoring for datapoint values with configurable thresholds to send email or Telegram notifications when levels are exceeded.
Instructions
Create a new threshold-based alert.
Args: project_id: The project's numeric ID. name: Alert name. datapoint_id: The datapoint to monitor. info_threshold: Info-level threshold value. warn_threshold: Warning-level threshold value. crit_threshold: Critical-level threshold value. email: Email address for notifications. telegram_chatid: Telegram chat ID for notifications. period: Evaluation period in seconds.
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": {
"project_id": "<project_id>",
"name": "<name>",
"datapoint_id": "<datapoint_id>"
},
"name": "create_threshold_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | ||
| name | Yes | ||
| datapoint_id | Yes | ||
| info_threshold | No | ||
| warn_threshold | No | ||
| crit_threshold | No | ||
| No | |||
| telegram_chatid | No | ||
| period | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |