yuque_get_default_repository
Retrieve the default repository from Yuque knowledge base using server configuration or fallback methods for content management operations.
Instructions
Resolve the default Yuque repository using server config or a fallback heuristic.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "yuque_get_default_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- src/tools.js:438-438 (handler)The handler function that executes the yuque_get_default_repository tool.
yuque_get_default_repository: async (_args, client) => jsonText(await client.getDefaultRepository()), - src/tools.js:126-129 (registration)Tool registration for yuque_get_default_repository.
{ name: "yuque_get_default_repository", description: "Resolve the default Yuque repository using server config or a fallback heuristic.", inputSchema: { type: "object", properties: {} }