Ripgrep Search Files
search-filesFind files that match or do not match a regex pattern using ripgrep; returns only file paths, not line content.
Instructions
List files that match (or do not match) a pattern using ripgrep. Returns file paths only, no line content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | Glob pattern to filter files | |
| path | Yes | Directory or file to search | |
| sortBy | No | Sort results by field | |
| pattern | Yes | Search pattern (regex by default) | |
| fileType | No | Filter by file type (e.g. 'ts', 'py') | |
| maxDepth | No | Maximum directory traversal depth | |
| noIgnore | No | Do NOT respect .gitignore rules (search files that are normally ignored) | |
| wordMatch | No | Only match whole words | |
| fileTypeNot | No | Exclude file type | |
| invertMatch | No | If true, list files that do NOT contain the pattern | |
| fixedStrings | No | Treat pattern as a literal string | |
| caseSensitive | No | true = case-sensitive, false = case-insensitive, omit = smart-case | |
| includeHidden | No | Include hidden files and directories | |
| maxCharacters | No | Maximum characters in the result. Truncated with summary if exceeded. | |
| followSymlinks | No | Follow symbolic links |