Get Cost-Alert Rule
get_alert_ruleGet a single cost-alert rule by its id. There is no dedicated backend endpoint for one rule, so this fetches the full alert-rule list and filters to the matching alert_id client-side. Returns the rule's type, cadence, thresholds, watched services/accounts, and notification channels; if no rule matches the id you get a clear not-found result (use list_alert_rules to discover valid ids). Optionally scope with integration_id. Use response_format="concise" (default) or "detailed". Read-only. Example: { "alert_id": "a1b2c3d4-..." } returns that one rule.
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": {
"alert_id": "<alert_id>"
},
"name": "get_alert_rule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alert_id | Yes | The alert rule id to fetch (matched against alert_id / alertId in the list response). | |
| integration_id | No | Scope to a single provider connection (integration id). Omit for all connections. | |
| response_format | No | concise = key fields only (default, lower token cost); detailed = the full parsed payload. | concise |