search_text
Search text and regex patterns across files, including comments and config. Returns file:line matches, ideal when you need raw text instead of code symbols.
Instructions
Raw text/regex search (string literals, comments, config — what the symbol index can't answer). Replaces Bash grep when you need text, not symbols. → capped file:line: line. For code symbols prefer search_symbol.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | String or regular expression. | |
| docs | No | With no path/glob, widen the sweep to docs/config text (md/json/yaml/…). | |
| glob | No | Only files matching this basename glob (e.g. *.md). | |
| path | No | Search ONE file (any extension auto-included). | |
| maxResults | No | ||
| projectPath | No |