yuque_delete_repo
Delete a Yuque repository by specifying its ID or namespace to remove unwanted knowledge base content from the platform.
Instructions
Delete a repository.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | No | Yuque repository ID. | |
| repoNamespace | No | Yuque repository namespace. |
Implementation Reference
- src/yuque-client.js:261-266 (handler)The actual implementation of the deleteRepo method which makes the API call.
async deleteRepo(refs = {}) { const repoRef = await this.resolveRepoIdentifier(refs); return this.request(`/repos/${repoRef}`, { method: "DELETE" }); } - src/tools.js:302-309 (registration)The tool definition registration for "yuque_delete_repo".
{ name: "yuque_delete_repo", description: "Delete a repository.", inputSchema: { type: "object", properties: repoRefSchema() } }, - src/tools.js:454-454 (handler)The tool handler function mapping for "yuque_delete_repo".
yuque_delete_repo: async (args, client) => jsonText(await client.deleteRepo(args)),