list_files
Browse files and folders in Nextcloud by path, with sorting and pagination, to inspect directory contents before downloading, moving, or managing items.
Instructions
List files and folders at a path. Paths are relative to the user's files root, e.g. '/' or '/Projects'. A Files app link (…/apps/files/files/123?dir=/folder) works too.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Folder path or Files app URL | / |
| sort | No | Sort field; '-' prefix = descending. Folders always come first | name |
| limit | No | Max items to return (default 50) | |
| offset | No | Offset for pagination |