ugreen_list_files
List files and folders in a personal or shared NAS root or any specified path, with paging, sorting, and limit controls. Use it to browse directory contents and retrieve file metadata.
Instructions
列个人/共享根目录或指定文件夹。默认列共享文件夹。使用一元 ls-root,兼容流式接口不可用的设备。文件数组在 data.data.file_list.files;保留 total/page 等官方字段。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ugreen_list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| path | No | ||
| root | No | shared | |
| sort | No | name | |
| limit | No | ||
| reverse | No |