Skip to main content
Glama

get-yuque-doc

Retrieve detailed information and content from Yuque documents using URL or namespace+slug, including metadata, author details, and full document content in Markdown or HTML format.

Instructions

从语雀 URL 或命名空间+slug 获取文档的详细信息。

支持的输入格式:

  1. 语雀 URL: https://www.yuque.com/username/repo/doc-slug

  2. 命名空间+Slug: 在 namespace 参数中指定 username/repo,在 slug 参数中指定文档 slug

返回的信息包括:

  • 文档基本信息(标题、ID、格式、字数等)

  • 作者信息

  • 知识库信息

  • 文档完整内容(Markdown 或 HTML)

  • 统计数据(浏览量、点赞数、评论数)

Input Schema

NameRequiredDescriptionDefault
docUrlNo语雀文档 URL (例如: https://www.yuque.com/username/repo/doc-slug)
namespaceNo知识库命名空间 (例如: username/repo),如果提供了 docUrl 则忽略此参数
slugNo文档 slug,需要与 namespace 一起使用

Input Schema (JSON Schema)

{ "properties": { "docUrl": { "description": "语雀文档 URL (例如: https://www.yuque.com/username/repo/doc-slug)", "type": "string" }, "namespace": { "description": "知识库命名空间 (例如: username/repo),如果提供了 docUrl 则忽略此参数", "type": "string" }, "slug": { "description": "文档 slug,需要与 namespace 一起使用", "type": "string" } }, "type": "object" }

Other Tools from Yuque MCP Server

Related Tools

    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/saoqixiaomm/yuque-mcp'

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