ssh_dir_search_files_content
Search for text or regex patterns within files in a remote directory via SSH. Returns matching file paths and content.
Instructions
Search for text patterns in files of given directory.
Returns: List of dictionaries with search matches
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir_path | Yes | Directory to search in | |
| pattern | Yes | Text or pattern to search for | |
| regex | No | Treat pattern as regular expression | |
| case_sensitive | No | Perform case-sensitive search | |
| use_sudo | No | Use sudo for the operation |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |