search_files
Find files matching a glob pattern in specified directories, with options for recursive search and result limits.
Instructions
Search for files matching a glob pattern.
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": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to search. Defaults to cwd. | . |
| pattern | No | Glob pattern (e.g. "*.py", "test_*.py", "config.*"). | * |
| recursive | No | If True, search subdirectories. Default: True. | |
| max_results | No | Maximum number of results to return. Default: 100. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||