ssh_dir_search_glob
Recursively search remote servers for files matching a glob pattern, with optional depth and sudo support.
Instructions
Recursively search for files matching a pattern.
Returns: List of dictionaries with file information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Base directory to search from | |
| pattern | Yes | Filename glob pattern (e.g. *.log) | |
| max_depth | No | Maximum recursion depth (None for unlimited) | |
| include_dirs | No | Include matching directories in results | |
| use_sudo | No | Use sudo for the operation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |