yuque_web_get_doc
Retrieve complete Yuque document details, including body content in Markdown, Lake, or LakeSheet format, using cookie-based web API access without membership or token rate limits.
Instructions
Cookie-based: Get full document detail with body/content. Supports markdown/lake/lakesheet formats. Returns richer fields than v2 get_doc (54 fields including abilities, joinToken, etc.). No membership required, no Token rate limiting. GET /api/docs/{id}?book_id={book_id}. id supports doc slug; book_id supports namespace/slug (e.g. yehuoshun/utuif2) or numeric. 详见 references/api/doc_api.md
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": {
"id": "<id>",
"book_id": "<book_id>"
},
"name": "yuque_web_get_doc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Document ID or slug (required) | |
| raw | No | Return raw full JSON (default false, returns trimmed fields) | |
| book_id | Yes | Repository ID, namespace or slug (e.g. yehuoshun/utuif2), or numeric (required) |