Configure Alert Threshold
metrx_configure_alert_thresholdSet up cost or operational alert thresholds for agents or org-wide to trigger email, webhook, or agent pause for real-time cost governance and operational safety.
Instructions
Set up cost or operational alert thresholds for a specific agent or org-wide. Alerts can trigger email notifications, webhooks, or automatically pause the agent. Use for real-time cost governance and operational safety. Thresholds run server-side automatically. Do NOT use for viewing current alerts — use get_alerts instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | No | Specific agent UUID to configure alerts for. Omit for org-wide alerts. | |
| metric | Yes | Metric to monitor | |
| threshold_value | Yes | Threshold value. For costs: cents (e.g., 500000 = $5000). For rates: decimal (e.g., 0.1 = 10%). For latency: ms. | |
| action | Yes | Action to trigger when threshold is breached |