Skip to main content
Glama

yuque_get_repository_toc_tree

Retrieve the complete table of contents structure for a Yuque repository, showing nested directories and documents to navigate content hierarchies.

Instructions

Get the full repository TOC tree, including nested directories and docs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoIdNoYuque repository ID.
repoNamespaceNoYuque repository namespace, for example user/repo.

Implementation Reference

  • The handler implementation for yuque_get_repository_toc_tree.
    yuque_get_repository_toc_tree: async (args, client) => jsonText(await client.getRepositoryTocTree(args)),
  • The definition and schema for 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.")
        }
      }
    },

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