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.
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": {
"payload": "<payload>"
},
"name": "yuque_update_toc"
}
}Input 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 }