list_rules
Fetch Prometheus recording and alerting rules, filterable by rule type or target, to review active observability rules.
Instructions
[READ] All recording + alerting rules, optionally filtered by type.
Args: rule_type: Filter by "alerting" or "recording"; omit for both. target: Prometheus target name from config; omit for the default.
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_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | ||
| rule_type | No |