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
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query. | |
| type | No | Search type. | |
| page | No | Page number. | |
| repoId | No | Optional repository ID filter. |
Implementation Reference
- src/tools.js:451-451 (handler)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)), - src/tools.js:258-271 (schema)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"] } },