Update an alert rule (org-scoped).
alerts.update_ruleUpdate an existing alert rule by specifying its rule ID and optionally modifying its name, expression, thresholds, active state, notification channels, and other parameters.
Instructions
Update an alert rule (org-scoped).
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": {
"rule_id": "<rule_id>"
},
"name": "alerts.update_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x-api-key | No | ||
| active | No | ||
| asset_key | No | ||
| band_mapping | No | ||
| collection_id | No | ||
| comparison | No | ||
| cooldown_minutes | No | ||
| description | No | ||
| event_types | No | ||
| expression | No | ||
| name | No | ||
| notification_channels | No | ||
| rule_id | Yes | ||
| threshold | No | ||
| threshold_upper | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_rule | Yes |