rsi_knowledge_search
Search locally stored project conventions, prohibitions, and repair lessons by query and role to recall approved rules before coding tasks.
Instructions
Search the knowledge base (FTS5 + CJK bigram by default; embedding is optional). 搜索知识库(默认纯 FTS5 + CJK bigram;embedding 为可选增强)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "rsi_knowledge_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | 角色过滤 | |
| query | Yes | 检索查询 | |
| top_k | No | 返回条数上限 |