从回收站恢复
gwl_restore_documentRestores a soft-deleted document from the recycle bin using its document ID and returns the restored document details.
Instructions
把软删除的文档从回收站恢复回来。 文档不在回收站 400;无权恢复 403。恢复后返回文档详情(msg=恢复成功)。
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>"
},
"name": "gwl_restore_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | 文档 id(路径参数)。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||