find_text
Search workspace files for a literal text string, with options to filter by file extensions, set case sensitivity, and limit results.
Instructions
Search file contents for a literal text string (grep-like).
Args: query: Literal text to search for. root: Directory to search under, relative to the workspace root. extensions: Optional list like [".py", ".ts"] to restrict the search. case_sensitive: Whether the match is case sensitive. max_results: Cap on number of matching lines returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | . | |
| query | Yes | ||
| extensions | No | ||
| max_results | No | ||
| case_sensitive | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||