search_files
Find files by name or extension using wildcard patterns. Recursively search directories to locate matching files and return their paths.
Instructions
Recursively search for files matching a pattern in a directory. Supports wildcards (* and **) and returns matching file paths. Useful for finding files by name or extension.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The directory to search in | |
| pattern | Yes | The pattern to match (e.g., '*.ts', '**/*.json') |
Input Schema (JSON Schema)
{
"properties": {
"path": {
"description": "The directory to search in",
"type": "string"
},
"pattern": {
"description": "The pattern to match (e.g., '*.ts', '**/*.json')",
"type": "string"
}
},
"required": [
"path",
"pattern"
],
"type": "object"
}