Search files by name
zspace_searchFind files or directories on a NAS by name keyword even without knowing their exact location. Returns up to 100 matches with path and type, read-only.
Instructions
Search for files/directories on the NAS whose names contain the keyword.
Use to find a file without knowing its exact location. Returns a list of {name, path, is_dir} matches, capped at 100. Read-only; never modifies NAS state.
The NAS full-text index is searched GLOBALLY, then results are filtered
client-side to path. Because path defaults to /sata11/my/data, a match
living in another pool is silently dropped and you get an empty list —
pass the pool root (or the widest directory you mean) before concluding a
file does not exist. Unlike zspace_ls / zspace_tree this matches by name
across the index rather than walking a directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to search under, e.g. /sata11/my/data | /sata11/my/data |
| keyword | Yes | Keyword to match against file names |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||