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
| Name | Required | Description | Default |
|---|---|---|---|
| docId | Yes | Yuque doc ID. | |
| repoId | No | Yuque repository ID. | |
| repoNamespace | No | Yuque repository namespace. |
Implementation Reference
- src/tools.js:441-441 (handler)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)), - src/tools.js:154-165 (schema)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"] } },