search_files
Search for text within files in a directory using recursive scanning to locate specific content across your codebase.
Instructions
Search for text within files in a directory (recursive)
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": {
"query": "<query>"
},
"name": "search_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Text to search for | |
| path | No | Directory to search in (defaults to projects directory) | |
| file_pattern | No | File pattern to match (e.g., '*.js', '*.py') |