Glob file search
globFind files matching a path pattern and return a compact list of matches for use in AI and CLI workflows.
Instructions
Find files matching a glob pattern. Returns a compact list of paths.
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 |
|---|---|---|---|
| cwd | No | Working directory for the glob | |
| pattern | Yes | Glob pattern (e.g. 'src/**/*.ts') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | Yes | ||
| files | Yes | ||
| retained | No |