search_knowledge
Search a specific knowledge base by keyword to retrieve matching files and folders with titles and snippet summaries.
Instructions
在指定知识库中按关键词搜索内容(含文件和文件夹),返回命中的标题、摘要片段。这是知识库内容检索的核心接口。
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>",
"knowledge_base_id": "<knowledge_base_id>"
},
"name": "search_knowledge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | 搜索关键词。 | |
| cursor | No | 分页游标,首次传空字符串。 | |
| knowledge_base_id | Yes | 目标知识库 ID。 |