find_files
Locate repository files by name or glob pattern when you know the approximate filename but not its location.
Instructions
Find files by name or glob pattern (e.g. "*/Service.java", "/test_*.py"). Use when you know roughly what a file is called but not where it lives.
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": {
"patterns": "<patterns>"
},
"name": "find_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Restrict to this subdirectory. | |
| patterns | Yes | Glob patterns. A pattern without "/" also matches file names anywhere in the tree. | |
| workspace | No | Workspace alias. Defaults to the active workspace. | |
| max_results | No | Default 200. |