filestation_list
List files and subfolders in a Synology File Station folder with names, sizes, and modified times; filter, sort, and paginate results.
Instructions
List a folder's contents with size and modified time.
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": {
"path": "<path>"
},
"name": "filestation_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | folder path, e.g. "/media/film" | |
| limit | No | ||
| offset | No | ||
| pattern | No | glob, e.g. "*.jpg" | |
| sort_by | No | name | |
| sort_direction | No | asc |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||