Skip to main content
Glama

yuque_delete_doc

Remove documents from Yuque knowledge base by specifying document ID, repository ID, or namespace to manage content hierarchies and maintain organized repositories.

Instructions

Delete a doc by ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docIdYesYuque doc ID.
repoIdNoYuque repository ID.
repoNamespaceNoYuque repository namespace.

Implementation Reference

  • The handler function for the yuque_delete_doc tool, which executes the delete operation via the client.
    yuque_delete_doc: async (args, client) => {
      await client.deleteDoc(args.docId, args);
      return jsonText({ ok: true, docId: args.docId });
    },
  • The schema registration for the yuque_delete_doc tool, defining its input parameters and description.
    name: "yuque_delete_doc",
    description: "Delete a doc by ID.",
    inputSchema: {
      type: "object",
      properties: {
        docId: schemaProperty("number", "Yuque doc ID."),
        ...repoRefSchema()
      },
      required: ["docId"]

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