yuque_update_toc
Update the table of contents for a Yuque knowledge base repository to organize document hierarchies and maintain structural consistency.
Instructions
Alias of yuque_update_repository_toc for compatibility with official naming.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | No | Yuque repository ID. | |
| repoNamespace | No | Yuque repository namespace. | |
| payload | Yes | Raw TOC update payload. |
Implementation Reference
- src/tools.js:455-455 (handler)The handler for yuque_update_repository_toc, which is the underlying implementation for the yuque_update_toc alias.
yuque_update_repository_toc: async (args, client) => jsonText(await client.updateToc(args)), - src/tools.js:494-498 (registration)Registration of the yuque_update_toc tool as an alias for yuque_update_repository_toc.
{ name: "yuque_update_toc", description: "Alias of yuque_update_repository_toc for compatibility with official naming.", inputSchema: TOOL_DEFINITIONS.find((tool) => tool.name === "yuque_update_repository_toc").inputSchema }