yuque_get_repository_toc_tree
Retrieve the complete table of contents structure for a Yuque repository, showing nested directories and documents to navigate content hierarchies.
Instructions
Get the full repository TOC tree, including nested directories and docs.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | No | Yuque repository ID. | |
| repoNamespace | No | Yuque repository namespace, for example user/repo. |
Implementation Reference
- src/tools.js:439-439 (handler)The handler implementation for yuque_get_repository_toc_tree.
yuque_get_repository_toc_tree: async (args, client) => jsonText(await client.getRepositoryTocTree(args)), - src/tools.js:131-141 (schema)The definition and schema for yuque_get_repository_toc_tree.
{ name: "yuque_get_repository_toc_tree", description: "Get the full repository TOC tree, including nested directories and docs.", inputSchema: { type: "object", properties: { ...repoRefSchema(), repoNamespace: schemaProperty("string", "Yuque repository namespace, for example user/repo.") } } },