Skip to main content
Glama

yuque_search

Search documents, books, or users within the Yuque knowledge base platform to find specific content and information.

Instructions

Search Yuque content.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesSearch query.
typeNoSearch type.
pageNoPage number.
repoIdNoOptional repository ID filter.

Implementation Reference

  • The handler function for the yuque_search tool, which calls the client's search method and wraps the result in jsonText.
    yuque_search: async (args, client) => jsonText(await client.search(args)),
  • The definition and input schema for the yuque_search tool.
    {
      name: "yuque_search",
      description: "Search Yuque content.",
      inputSchema: {
        type: "object",
        properties: {
          query: schemaProperty("string", "Search query.", { minLength: 1 }),
          type: schemaProperty("string", "Search type.", { enum: ["DOC", "BOOK", "USER"] }),
          page: schemaProperty("number", "Page number.", { minimum: 1 }),
          repoId: schemaProperty("number", "Optional repository ID filter.")
        },
        required: ["query"]
      }
    },

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