Skip to main content
Glama

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
NameRequiredDescriptionDefault
repoIdNoYuque repository ID.
repoNamespaceNoYuque repository namespace.

Implementation Reference

  • 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()
      }
    },
  • The tool handler function mapping for "yuque_delete_repo".
    yuque_delete_repo: async (args, client) => jsonText(await client.deleteRepo(args)),

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MichealJou/yuque-mcp-plus'

If you have feedback or need assistance with the MCP directory API, please join our Discord server