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/..." }
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. |