List Alert Rules
list_alert_rulesList every alert rule in the workspace — predefined and custom together.
Predefined rules are the built-in detectors, one per kind, which you can configure and toggle but not create or delete. Custom rules are ones someone built from the metric catalog; there can be many.
The ref column is what update_alert_rule and delete_alert_rule take: a kind
name for a predefined rule, a uuid for a custom one.
A predefined rule only appears once alert-manager has reached this workspace, so an empty list can simply mean detection has not started yet.
workspace: optional workspace id, name, or org-name/workspace-name when the
same name occurs in two of your orgs (defaults to your default).
Example:
What alerts are configured?
{ "name": "list_alert_rules", "arguments": {} }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": "list_alert_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |