读取知识库目录
yuque_get_tocRetrieves a knowledge base's table of contents—heading hierarchy, document IDs, and slugs—so you can browse and navigate its structure.
Instructions
读取知识库的目录树(标题层级、文档 id、slug),便于按结构浏览。
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": {
"book_id": "<book_id>"
},
"name": "yuque_get_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | 知识库 id |