get_warning_rules
Retrieve a list of alarm rules with support for filtering, sorting, and pagination to manage alerts efficiently.
Instructions
查询报警规则列表,支持过滤、排序和分页
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_warning_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | 查询过滤条件,例如: {"enable": true, "level": 4} | |
| sort | No | 排序条件,例如: {"createTime": -1} 表示按创建时间倒序 | |
| limit | No | 返回数量限制 | |
| skip | No | 跳过数量,用于分页 | |
| withCount | No | 是否返回总数 |