Grep
grepSearch file contents recursively with ripgrep regex, glob, case-insensitive, and context options to find matching text across project files.
Instructions
Search file contents recursively with ripgrep regex, glob, case and context support.
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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| path | No | . | |
| context | No | ||
| pattern | Yes | ||
| ignore_case | No | ||
| max_results | No |