list_knowledge_bases
Retrieve and paginate knowledge bases a user created, owns, or joined, filtering by scope, name, author, or book ID to locate specific libraries.
Instructions
获取用户创建、拥有或加入的知识库列表,默认DEFAULT;查书名/书籍作者显式scope=BOOKSPACE,query只匹配书名、author匹配书籍作者,二者AND,只有作者线索就只传author。返回topics[]、has_more、total,完整分页并核对book_info。无匹配且用户未限定只查自有时,用list_subscribed_knowledge_bases保留全部条件补查;仍无匹配再按list_notes的引用来源路线补查,不能把空书库当账号没有划线。用户限定具体知识库时保留原范围;来源作者冲突保留为待核验候选。
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": "list_knowledge_bases"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 页码,从 1 开始(默认 1) | |
| query | No | 只匹配知识库名/书名,不匹配作者;与 author 同时传时为 AND。多候选须核对书名、作者和 book_id | |
| scope | No | 知识库类型,默认 DEFAULT | DEFAULT |
| author | No | 书籍作者,限 BOOKSPACE;只有作者线索时只传 author,不猜书名或把作者填进 query | |
| book_id | No | 书籍 ID 字符串,限 BOOKSPACE | |
| page_size | No | 每页 1–100 条,默认 20 |