Implementation
gradeNot graded
gradeNot graded
list-rulesAnswer
列出所有可用的广告过滤规则及其元数据
View tool JSON
{
"name": "list-rules",
"kind": "answer",
"impl": "imperative",
"description": "列出所有可用的广告过滤规则及其元数据",
"inputSchema": {
"type": "object",
"properties": {}
}
}get-rule-urlAnswer
获取指定规则文件的加速镜像 URL
View tool JSON
{
"name": "get-rule-url",
"kind": "answer",
"impl": "imperative",
"description": "获取指定规则文件的加速镜像 URL",
"inputSchema": {
"type": "object",
"properties": {
"rule-name": {
"type": "string",
"description": "规则文件名,如 AdGuard_Base_Filter.txt"
},
"mirror": {
"type": "string",
"enum": [
"ghucs",
"jsdelivr",
"cosr",
"gitmirror"
],
"description": "镜像源,默认 cosr"
}
},
"required": [
"rule-name"
]
}
}get-checksumAnswer
获取指定规则文件的 SHA256 校验和
View tool JSON
{
"name": "get-checksum",
"kind": "answer",
"impl": "imperative",
"description": "获取指定规则文件的 SHA256 校验和",
"inputSchema": {
"type": "object",
"properties": {
"rule-name": {
"type": "string",
"description": "规则文件名"
}
},
"required": [
"rule-name"
]
}
}