search_files
Recursively locate files by substring pattern (case-insensitive) and exclude paths with glob patterns.
Instructions
Recursively search for files/directories matching a pattern (case-insensitive). Use exclude_patterns (glob format relative to search path) to ignore paths. Only searches within allowed directories:
/app
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": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Base directory to search in (default: current shell directory) | |
| pattern | Yes | Search pattern (substring match) | |
| exclude_patterns | No | List of glob patterns to exclude (relative to search path) |