Skip to main content
Glama

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
NameRequiredDescriptionDefault
repoIdNoYuque repository ID.
repoNamespaceNoYuque repository namespace.
payloadYesRaw TOC update payload.

Implementation Reference

  • The handler for yuque_update_repository_toc which calls client.updateToc.
    yuque_update_repository_toc: async (args, client) => jsonText(await client.updateToc(args)),
  • 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"]
      }
    },

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MichealJou/yuque-mcp-plus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server