ds_list_directory
List files and subcollections in an iRODS path as JSON, with offset and limit pagination to browse large directories.
Instructions
Get a list of files (data-objects) and directories (collections) in a specified path. The specified path must be an iRODS path. The output is in JSON format. The output contains entries in the given directory (collection) path. Use offset and limit parameters to paginate through large directories.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The path to the directory (collection) to list. | |
| limit | No | Maximum number of entries to return (for pagination). Default: 100, max: 500. | |
| offset | No | Number of entries to skip (for pagination). Default: 0. |