yuque_request
Execute custom API requests to the Yuque knowledge base platform for endpoints not covered by dedicated tools, enabling flexible data operations.
Instructions
Generic Yuque OpenAPI request passthrough for endpoints not wrapped by dedicated tools.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| method | No | HTTP method. | |
| path | Yes | API path starting with /, for example /repos/123. | |
| params | No | Optional query parameters. | |
| body | No | Optional JSON request body. |
Implementation Reference
- src/tools.js:430-430 (handler)The implementation of the yuque_request tool, which calls the client's rawRequest method.
yuque_request: async (args, client) => jsonText(await client.rawRequest(args)), - src/tools.js:32-51 (schema)The input schema definition for the yuque_request tool.
{ name: "yuque_request", description: "Generic Yuque OpenAPI request passthrough for endpoints not wrapped by dedicated tools.", inputSchema: { type: "object", properties: { method: schemaProperty("string", "HTTP method.", { enum: ["GET", "POST", "PUT", "DELETE", "PATCH"] }), path: schemaProperty("string", "API path starting with /, for example /repos/123."), params: { type: "object", description: "Optional query parameters." }, body: { type: "object", description: "Optional JSON request body." } }, required: ["path"] } },