yuque_list_doc_versions
Retrieve all historical versions of a Yuque document to track changes, review edits, or restore previous content using the document ID.
Instructions
List all versions of a document.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Yuque doc ID. |
Implementation Reference
- src/tools.js:456-456 (handler)The handler function for the yuque_list_doc_versions tool.
yuque_list_doc_versions: async (args, client) => jsonText(await client.listDocVersions(args.docId)), - src/tools.js:326-334 (registration)The registration definition for the yuque_list_doc_versions tool.
name: "yuque_list_doc_versions", description: "List all versions of a document.", inputSchema: { type: "object", properties: { docId: schemaProperty("number", "Yuque doc ID.") }, required: ["docId"] }