File Trash Restore
file_trash_restoreRestores a file from the NAS recycle bin using its path. Because success messages can be unreliable, verify the restored file afterward with file_property.
Instructions
从回收站恢复文件(写操作)。
⚠️ 实测不可靠:即使返回 "Restored ",文件也常常没有回到原位 (因为 file rm 走的是硬删除,回收站里本来就没有该条目)。恢复后请 用 file_property 确认。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | NAS 主机地址(IP 或域名) | |
| path | Yes | NAS 上的路径,如 /vol1/1000/文档 | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |