glob
Locate files by name pattern using wildcard expressions such as **/*.js. Returns matching file paths across any directory.
Instructions
Fast file pattern matching for codebases of any size. Supports patterns such as /*.js and src//*.ts. Returns matching file paths. Use it to find files by name pattern.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | The directory to search in. If omitted, the current working directory is used. Must be a valid directory path when provided. | |
| pattern | Yes | The glob pattern to match files against |