yuque_update_repository_toc
Update table of contents for Yuque repositories by sending structured payloads to manage document hierarchies and organization.
Instructions
Send a raw TOC update payload to the repository TOC API.
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 calls client.updateToc.
yuque_update_repository_toc: async (args, client) => jsonText(await client.updateToc(args)), - src/tools.js:311-324 (schema)The schema definition for yuque_update_repository_toc.
name: "yuque_update_repository_toc", description: "Send a raw TOC update payload to the repository TOC API.", inputSchema: { type: "object", properties: { ...repoRefSchema(), payload: { type: "object", description: "Raw TOC update payload." } }, required: ["payload"] } },