find_files
Recursively search a root directory for files matching a wildcard pattern while automatically skipping node_modules, build, dist, temp, library, backup, and .git folders.
Instructions
Recursively search for files by wildcard pattern using pure Node.js. Automatically excludes library/, temp/, node_modules/, build/, dist/, _backup/, and .git/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rootDir": "<rootDir>"
},
"name": "find_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | * | |
| rootDir | Yes | Absolute root directory to search | |
| maxResults | No | ||
| excludeDirs | No |