search_codebase
Find specific text or regex patterns in your codebase, returning matches with file paths and line numbers.
Instructions
Searches the codebase for text or regex patterns, returning matches with file paths and line numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text or regex pattern to search for. | |
| is_regex | No | Treat query as a regular expression. Default: false. | |
| file_pattern | No | Glob pattern to restrict search scope (e.g. "**/*.ts"). | |
| case_sensitive | No | Case-sensitive search. Default: false. | |
| max_results | No | Maximum number of results. Default: config value. |