search_code
Search project files for text or regex patterns, with optional file filters and result limits.
Instructions
Search for a text pattern across files in the project using ripgrep-like search.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to search in. | . |
| pattern | Yes | The text or regex pattern to search for. | |
| glob_filter | No | Optional file pattern filter (e.g. '*.py', '*.ts', '*.{ts,js}'). | |
| max_results | No | Maximum number of result lines to return. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |