yuque_get_docs
Retrieve and list documents from a Yuque knowledge base repository to access and manage content structure.
Instructions
List docs in a repository.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | No | Yuque repository ID. | |
| repoNamespace | No | Yuque repository namespace. | |
| limit | No | Optional page size. | |
| offset | No | Optional offset. |
Implementation Reference
- src/tools.js:440-440 (handler)The handler function for the yuque_get_docs tool, which calls client.getDocs.
yuque_get_docs: async (args, client) => jsonText(await client.getDocs(args, args)), - src/tools.js:142-153 (schema)The input schema definition for the yuque_get_docs tool.
{ name: "yuque_get_docs", description: "List docs in a repository.", inputSchema: { type: "object", properties: { ...repoRefSchema(), limit: schemaProperty("number", "Optional page size.", { minimum: 1, maximum: 100 }), offset: schemaProperty("number", "Optional offset.", { minimum: 0 }) } } },