search_uss_files
Search a USS directory for files or folders matching wildcard patterns, with optional type filtering, sorting, and result limits.
Instructions
Search for files/directories in a USS directory matching a wildcard name pattern. Supports type filter, sort, and result capping.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute USS directory path to search within. | |
| type | No | Restrict matches to entries of this type only. | |
| sortBy | No | Sort matched results: "name" (default), "size" (largest first), "modified" (newest first), "type" (dirs first). | |
| pattern | Yes | File/directory name pattern with "*"/"?" wildcards, e.g. "*.log" or "pay*". | |
| maxResults | No | Maximum number of matched entries to return. | |
| environment | No | Named target environment (see list_environments), e.g. "dev", "prod". Omit to use the server default. |