search_content
Search for text inside files and return matching lines with line numbers. Quickly locate specific content in text files within a directory.
Instructions
Search for text inside files (grep-like). Returns matching lines with line numbers. Only searches text files.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Case-insensitive text to search for inside files. | |
| path | No | Directory to search within. Empty for root. | |
| maxResults | No | Maximum matching lines to return (default: 50, max: 200). | |
| maxFileSize | No | Skip files larger than this many bytes (default: 2 MB, max: 10 MB). |