List directory contents
zspace_lsList directory contents on a ZSpace NAS to browse files, locate items, or select targets for move/copy operations. Read-only and paginated automatically.
Instructions
List the contents of a directory on the ZSpace NAS at the given path.
Use to browse files, locate items, or pick targets for later move/copy operations. Large directories are paginated automatically (the NAS API returns at most 50 entries per call). Returns a list of {name, path, is_dir, size} objects. Read-only; pass show_hidden=True to include hidden entries.
Flat and one level deep: use zspace_tree for nested structure, zspace_search when you know a name but not the location, and zspace_info for full metadata on one path you already have.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Absolute path on the NAS, e.g. /sata11/my/data | /sata11/my/data |
| show_hidden | No | Include hidden files and directories |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||