restore_library
Restore a literature library from a trusted backup archive into a new directory, verify hashes and database integrity, avoid overwriting existing libraries, disable cloud and full-text output access.
Instructions
从用户指定可信备份恢复至全新目录,校验哈希和数据库;不覆盖现有库,恢复后云服务和正文输出权限全部关闭。
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": {
"archive_path": "<archive_path>",
"new_directory": "<new_directory>"
},
"name": "restore_library"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive_path | Yes | ||
| new_directory | Yes |