Search the project
searchLocate where a text is defined or used across project files. Groups matches by file, most cited first, and skips secrets; use instead of grep.
Instructions
Where a text is defined or used: lines grouped by file, most cited first (concise: 5 files). Case-insensitive. Use it instead of grep. To see the code use read. Read-only, inside the root; skips secrets (.env, *.key...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | literal unless regex=true | |
| limit | No | maximum number of lines | |
| regex | No | text is an extended regex | |
| where | No | folder or file relative to the root | |
| format | No | concise = essentials only | detailed |
| context | No | lines around |