Skip to main content
Glama

Yuque MCP Server

by HenryHaoson

update_doc

Modify existing documents in Yuque by updating titles, content, or permissions using specified document IDs and namespaces.

Instructions

更新语雀中已存在的文档,可以修改标题、内容或权限设置

Input Schema

NameRequiredDescriptionDefault
accessTokenNo用于认证 API 请求的令牌
bodyNo文档的新内容,支持Markdown格式
formatNo内容格式,可选值:markdown、html、lake
idYes要更新的文档ID
namespaceYes知识库的命名空间,格式为 user/repo
publicNo文档的公开状态,0(私密)、1(公开)、2(企业内公开)
slugNo文档的新短链接名称
titleNo文档的新标题

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "accessToken": { "description": "用于认证 API 请求的令牌", "type": "string" }, "body": { "description": "文档的新内容,支持Markdown格式", "type": "string" }, "format": { "description": "内容格式,可选值:markdown、html、lake", "type": "string" }, "id": { "description": "要更新的文档ID", "type": "number" }, "namespace": { "description": "知识库的命名空间,格式为 user/repo", "type": "string" }, "public": { "description": "文档的公开状态,0(私密)、1(公开)、2(企业内公开)", "type": "number" }, "slug": { "description": "文档的新短链接名称", "type": "string" }, "title": { "description": "文档的新标题", "type": "string" } }, "required": [ "namespace", "id" ], "type": "object" }

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/HenryHaoson/Yuque-MCP-Server'

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