yuque_list_repos
Retrieve repositories from Yuque knowledge base by user ID, owner type, or login to manage content hierarchies and document structures.
Instructions
Alias of yuque_get_repos for compatibility with official naming.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | Optional Yuque user ID. | |
| ownerType | No | Optional owner type. | |
| ownerLogin | No | Optional owner login. When provided, ownerType decides /users/{login}/repos or /groups/{login}/repos. |
Implementation Reference
- src/tools.js:434-435 (handler)The actual implementation of the tool, aliased as yuque_list_repos, is defined as yuque_get_repos. It fetches repositories using the Yuque client.
yuque_get_repos: async (args, client) => jsonText(await client.getRepos(args.ownerLogin ? args : args.userId)), - src/tools.js:479-483 (registration)Registration of the yuque_list_repos tool as an alias for yuque_get_repos.
{ name: "yuque_list_repos", description: "Alias of yuque_get_repos for compatibility with official naming.", inputSchema: TOOL_DEFINITIONS.find((tool) => tool.name === "yuque_get_repos").inputSchema },