删除文档(软删除)
gwl_delete_documentMove a document to the recycle bin for recoverable soft deletion, requiring author or authorized access; permanent deletion is not available.
Instructions
把文档移入回收站(软删除,可用 gwl_restore_document 恢复)。 仅作者或被授权者,否则 403;已经是回收站状态则 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>"
},
"name": "gwl_delete_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doc_id | Yes | 文档 id(路径参数)。 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||