yuque_get_doc
Retrieve the full content of a document from a Yuque repository by specifying the repo ID and document ID or slug, with optional format selection (markdown, lake, or html).
Instructions
Get a specific document with full content
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo_id": "<repo_id>",
"doc_id": "<doc_id>"
},
"name": "yuque_get_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_id | Yes | Repo ID or namespace (e.g., "mygroup/mybook") | |
| doc_id | Yes | Document ID or slug | |
| format | No | Content format to read. Omit or use markdown to read through the YMD-compatible flow; use lake/html for the legacy document API. | |
| include_lake | No | Include raw Lake format body (preserves Mermaid source code, diagrams, etc.) |