search_knowledge_base
Search accessible knowledge bases by name keyword. When query is empty, lists all visible knowledge bases to find the matching ID for a known name.
Instructions
搜索知识库列表。query 传空字符串时返回当前账号下所有可见知识库(含自建与订阅)。知道知识库名称但不知道 ID 时用此接口。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "search_knowledge_base"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | 返回数量上限,1-20。 | |
| query | No | 知识库名称关键词。传空字符串返回全部知识库。 | |
| cursor | No | 分页游标,首次传空字符串。 |