Drive: list folder
drive_listList files and folders in a Synology Drive folder such as My Drive or a team folder, with sorting and pagination for browsing NAS content.
Instructions
List a Synology Drive folder (My Drive or a team folder). Use drive_list_team_folders to find team folders.
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": "drive_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Drive path: "/mydrive/<path>" (the user's My Drive = /home/Drive in File Station), "/team-folders/<name>/<path>", "id:<file_id>" or "link:<permanent_link>" | /mydrive |
| limit | No | ||
| offset | No | ||
| sort_by | No | ||
| sort_direction | No |