某版修订全文
gwl_get_document_revisionRead the full content of a specific document revision and return whether it is the current version and can be restored. Use it to inspect revision details by document ID and revision number.
Instructions
读取某一版修订的全文,并带 current_version 与 can_restore。 该修订不存在 404;没有内容快照 404。
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": {
"doc_id": "<doc_id>",
"rev": "<rev>"
},
"name": "gwl_get_document_revision"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rev | Yes | 修订号(路径参数)。 | |
| doc_id | Yes | 文档 id(路径参数)。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||