search_files
Search for text within files across directories using file patterns to locate specific content in your development projects.
Instructions
Search for text within files in a directory (recursive)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for | |
| path | No | Directory to search in (defaults to projects directory) | |
| file_pattern | No | File pattern to match (e.g., '*.js', '*.py') |
Input Schema (JSON Schema)
{
"properties": {
"file_pattern": {
"description": "File pattern to match (e.g., '*.js', '*.py')",
"type": "string"
},
"path": {
"description": "Directory to search in (defaults to projects directory)",
"type": "string"
},
"query": {
"description": "Text to search for",
"type": "string"
}
},
"required": [
"query"
],
"type": "object"
}