search_knowledge_tool
Search project knowledge using hybrid keyword, semantic vector, and full-text retrieval. Filter by framework, code type, or symbol, and supply multilingual query variants to improve cross-language matches.
Instructions
搜尋知識文件內容(三路混合檢索:關鍵字 + 向量語意 + 全文內容)
Args: project_name: 專案名稱 query: 主要搜尋查詢(任何語言) query_variants: 同義查詢的其他語言版本,例如 ["nearby area search", "近郊地區搜尋"] 提供越多語言版本,跨語言命中率越高 framework: 框架過濾(選填) framework_layer: 框架層級過濾(選填) code_type: 程式碼類型過濾(選填) symbol_name: 符號名稱過濾(選填)
Returns: 搜尋結果與使用指引
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": {
"project_name": "<project_name>",
"query": "<query>"
},
"name": "search_knowledge_tool"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| code_type | No | ||
| framework | No | ||
| symbol_name | No | ||
| project_name | Yes | ||
| query_variants | No | ||
| framework_layer | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||