query_knowledge_base
Search and retrieve relevant information from indexed documents in the MCP Knowledge Base Server by submitting queries and specifying result limits or similarity thresholds.
Instructions
查询知识库
Input Schema
Name | Required | Description | Default |
---|---|---|---|
max_results | No | 最大返回结果数 | |
question | Yes | 查询问题 | |
threshold | No | 相似度阈值 |
Input Schema (JSON Schema)
{
"properties": {
"max_results": {
"default": 5,
"description": "最大返回结果数",
"type": "number"
},
"question": {
"description": "查询问题",
"type": "string"
},
"threshold": {
"default": 0.1,
"description": "相似度阈值",
"type": "number"
}
},
"required": [
"question"
],
"type": "object"
}