search_text
Search for raw text and regex patterns in code, config, and documentation files. Returns file:line results for strings, comments, and text not covered by symbol indexes.
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 |