search_files
Find text matches in files using case-insensitive search. Results show file path, line number, and matching line, filterable by subdirectory.
Instructions
Search for a plain-text string across text files (case-insensitive).
Returns matching lines with their file path and line number.
Args: query: The text to search for. subdir: Limit the search to this subdirectory. Use "." for everything. max_results: Stop after this many matching lines. 0 uses the server default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| subdir | No | . | |
| max_results | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |