search_files
Find files in WSL by name pattern and return matching POSIX paths. Specify a directory and glob pattern, with optional max depth, to locate files.
Instructions
Find files in WSL by name pattern (find -name). Returns matching POSIX 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": {
"path": "<path>",
"pattern": "<pattern>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Directory to search from (absolute POSIX) | |
| distro | No | ||
| pattern | Yes | Glob pattern, e.g. "*.ts" or "test*" | |
| maxDepth | No | Max directory depth |