find_files
Recursively search a directory for filenames matching a glob pattern, returning up to 500 relative file paths.
Instructions
Recursively find files under a directory matching a glob pattern.
Args: path: Directory to search under, relative to the workspace root. pattern: Filename glob, e.g. ".py" or ".md" (matched against the filename only, not the full path).
Returns: Up to 500 matching relative file paths.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | . | |
| pattern | No | * |