yuque_get_toc
Retrieve the table of contents for a Yuque repository to navigate document hierarchies and manage content structure.
Instructions
Alias of yuque_get_repository_toc_tree for compatibility with official naming.
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 for the tool logic, which routes to the yuque-client implementation.
yuque_get_repository_toc_tree: async (args, client) => jsonText(await client.getRepositoryTocTree(args)), - src/tools.js:132-141 (schema)The schema definition for the underlying tool 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.") } } }, - src/tools.js:490-493 (registration)Registration of yuque_get_toc as an alias for yuque_get_repository_toc_tree.
name: "yuque_get_toc", description: "Alias of yuque_get_repository_toc_tree for compatibility with official naming.", inputSchema: TOOL_DEFINITIONS.find((tool) => tool.name === "yuque_get_repository_toc_tree").inputSchema },