yuque_get_repo
Retrieve detailed information about a Yuque knowledge base repository using its ID or namespace to access content structure and metadata.
Instructions
Get repository detail.
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_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repoId | No | Yuque repository ID. | |
| repoNamespace | No | Yuque repository namespace. |
Implementation Reference
- src/tools.js:437-437 (handler)Handler function for yuque_get_repo, calls client.getRepo(args).
yuque_get_repo: async (args, client) => jsonText(await client.getRepo(args)), - src/tools.js:119-124 (schema)Tool definition and input schema for yuque_get_repo.
name: "yuque_get_repo", description: "Get repository detail.", inputSchema: { type: "object", properties: repoRefSchema() }