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.
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": "ds_list_directory"
}
}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. |