operations_list
List objects and directories from a remote path, with options for recursion, hashes, and metadata. Returns output like rclone lsjson.
Instructions
List objects — Lists objects and directories for a remote path, returning the same fields as rclone lsjson.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fs | No | Remote name or path to list, for example `drive:`. | |
| opt | No | Optional JSON-encoded object of listing flags (e.g. `{ "recurse": true, "showHash": true }`). | |
| _async | No | Run the command asynchronously. Returns a job id immediately. | |
| _group | No | Assign the request to a custom stats group. | |
| remote | No | Directory path within `fs` to list; leave empty to target the root. | |
| recurse | No | Set to true to list directories recursively. | |
| dirsOnly | No | Set to true to return only directory entries. | |
| metadata | No | Set to true to include backend-provided metadata maps. | |
| showHash | No | Set to true to include hash digests for each entry. | |
| filesOnly | No | Set to true to return only file entries. | |
| hashTypes | No | Specify one or more hash algorithms to include when `showHash` is true (e.g. `md5`). | |
| noModTime | No | Set to true to omit modification times for faster listings on some backends. | |
| noMimeType | No | Set to true to omit MIME type detection. | |
| showOrigIDs | No | Set to true to include original backend identifiers where available. | |
| showEncrypted | No | Set to true to include encrypted names when using crypt remotes. |