search_text: search files with AIsearch_text lets you search strings, patterns or regular expressions within files in any workspace folder. It's the ideal tool for analyzing large logs, finding code references and validating configurations.
Search for all lines with "ERROR" in the C:\logs folder and show me the 10 most recent
| Parameter | Description |
|---|---|
directory | Folder to search in |
pattern | Text or regex pattern to search |
file_filter | Extension filter (e.g. *.log, *.py) |