list_files
List files under a specified path to review directory contents and locate target files, simplifying data exploration before loading.
Instructions
List files under path (file, directory, or glob).
Useful when you don't know what's in a directory and need to find a
specific file before calling load_source. For HDF5/array directories,
prefer detect_pattern() which also classifies the multi-file structure.
Output size: small (file list capped at max_files).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| max_files | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||