glob_files
Recursively search for files using glob patterns from a specified base directory, automatically excluding common dependency and cache folders like .git, node_modules, .venv, and pycache.
Instructions
Find files matching a glob pattern (e.g. '/*.py', 'src//*.ts'). Searches recursively from the given base path. Skips .git, node_modules, .venv, pycache directories.
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": {
"pattern": "<pattern>"
},
"name": "glob_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Base directory to search from (default: current directory). | . |
| pattern | Yes | Glob pattern (e.g. '**/*.py', '*.json', 'src/**/*.ts'). |