Skip to main content
Glama

yuque_get_doc

Retrieve detailed document content from Yuque knowledge bases using document IDs to access and manage specific documentation within repositories.

Instructions

Get doc detail by doc ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docIdYesYuque doc ID.
repoIdNoYuque repository ID.
repoNamespaceNoYuque repository namespace.

Implementation Reference

  • The handler function for the `yuque_get_doc` tool, which calls `client.getDoc`.
    yuque_get_doc: async (args, client) => jsonText(await client.getDoc(args.docId, args)),
  • Input schema definition for `yuque_get_doc` tool.
    {
      name: "yuque_get_doc",
      description: "Get doc detail by doc ID.",
      inputSchema: {
        type: "object",
        properties: {
          docId: schemaProperty("number", "Yuque doc ID."),
          ...repoRefSchema()
        },
        required: ["docId"]
      }
    },

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