get_rules
View and filter the mihomo/Clash Meta core rule table by keyword to inspect matching rule type, payload, or proxy, with a configurable result limit.
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_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 最多返回条数,默认 50 | |
| search | No | 过滤关键词(匹配 type/payload/proxy,不区分大小写) |