search_in_files
Search for text or patterns across project files using glob patterns and regex to locate specific code or content within your development workspace.
Instructions
Search for text or pattern across project files
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_in_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Text or regex pattern to search | |
| file_pattern | No | File glob pattern (e.g., *.py) | |
| case_sensitive | No | Case sensitive search | |
| max_results | No | Maximum number of results |