yuque_get_doc_version_detail
Retrieve document version details including format, body content, diff, and metadata. Set raw=true to bypass truncation for payloads over 20,000 characters.
Instructions
Get version detail (format/body/body_md/body_html/body_asl/diff + meta). Fields over 20000 chars are truncated — pass raw=true for the full payload. GET /doc_versions/:id. 详见 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>"
},
"name": "yuque_get_doc_version_detail"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Version ID (required) | |
| raw | No | Return raw full JSON (default false, returns trimmed fields) |