configure_alerts
Create alert rules for latency, error rate, or cost thresholds and notify Slack or a webhook when limits are exceeded.
Instructions
Configure alert rules for latency, error rate, or cost thresholds. Example: { "rules": [{"type":"latency","threshold":1000}], "slack_webhook": "https://hooks.slack.com/..." }
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": {
"rules": "<rules>"
},
"name": "configure_alerts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rules | Yes | Array of alert rules to configure. | |
| webhook_url | No | Optional generic webhook URL for JSON POST notifications. | |
| slack_webhook | No | Optional Slack webhook URL for Slack block notifications. |