grep_search
Search for text patterns in files using regex, with options for context lines, file types, and case sensitivity.
Instructions
Search for text patterns in 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": "grep_search"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | Search pattern (regex supported) | |
| path | No | Search directory (defaults to workspace) | |
| options | No |