search_files
Locate files on remote Linux servers by matching name patterns (like *.log) within a directory tree. Optionally filter by file type or specify a named SSH host.
Instructions
Search for files by name pattern in a remote directory tree.
Args: path: Root directory to search from. pattern: File name pattern (e.g., "*.log", "nginx.conf"). file_type: Filter by type: "file" (f), "dir" (d), or "any" (default). host_name: Named host from SSH_HOSTS config; uses default host if omitted.
Returns: List of matching file paths.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| pattern | Yes | ||
| file_type | No | any | |
| host_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |