Get Alert Rules
get_alert_rulesFetch the calling tenant's alert rules. READ: available to any authenticated user.
Omit ruleId to list every rule; supply ruleId to fetch a single rule. Either way returns the full rule definition (source, filter, measure, groupBy, compiledQuerySql, condition).
This does not say where a rule's alerts are delivered. To state where they go, call get_alert_rule_destinations and report what it returns. To change where they go, call set_alert_rule_destinations.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_alert_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ruleId | No | Optional rule id (UUID); omit to list every rule |