Skip to main content
Glama

yuque_delete_toc_node

Remove a title or link node from a Yuque repository's table of contents tree to manage document structure and hierarchy.

Instructions

Delete a TITLE or LINK node from the repository TOC tree.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repoIdNoYuque repository ID.
repoNamespaceNoYuque repository namespace.
nodeUuidYesExisting TOC node UUID.
parentUuidNoOptional parent TOC UUID. If omitted, the server resolves the delete strategy from the TOC tree.
targetUuidNoAlias of parentUuid.
actionModeNoOptional TOC action mode override.

Implementation Reference

  • The handler implementation for yuque_delete_toc_node, which delegates to the client.deleteTocNode method.
    yuque_delete_toc_node: async (args, client) => jsonText(await client.deleteTocNode(args)),
  • The input schema definition for the yuque_delete_toc_node tool.
    name: "yuque_delete_toc_node",
    description: "Delete a TITLE or LINK node from the repository TOC tree.",
    inputSchema: {
      type: "object",
      properties: {
        ...repoRefSchema(),
        nodeUuid: schemaProperty("string", "Existing TOC node UUID."),
        parentUuid: schemaProperty("string", "Optional parent TOC UUID. If omitted, the server resolves the delete strategy from the TOC tree."),
        targetUuid: schemaProperty("string", "Alias of parentUuid."),
        actionMode: schemaProperty("string", "Optional TOC action mode override.", { enum: ["child", "sibling"] })
      },
      required: ["nodeUuid"]
    }

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