search_codebase
Search a codebase for a text pattern or regular expression to find matching files, line numbers, and code snippets.
Instructions
Searches the codebase for a text pattern or regular expression, returning matching files, line numbers, and snippets.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text or regex pattern to search for | |
| use_regex | No | If true, treats the query as a Regular Expression (default: false) | |
| max_results | No | Maximum number of results (default: 30) |