yuque_get_doc_version
Retrieve a specific version of a document from the Yuque knowledge base by providing its version ID. This tool helps access historical document revisions within the enhanced Yuque MCP server for content management.
Instructions
Get a specific document version.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| versionId | Yes | Yuque version ID. |
Implementation Reference
- src/tools.js:457-457 (handler)Handler for yuque_get_doc_version tool.
yuque_get_doc_version: async (args, client) => jsonText(await client.getDocVersion(args.versionId)), - src/tools.js:336-346 (schema)Schema definition for yuque_get_doc_version tool.
{ name: "yuque_get_doc_version", description: "Get a specific document version.", inputSchema: { type: "object", properties: { versionId: schemaProperty("number", "Yuque version ID.") }, required: ["versionId"] } },