grep_search
Search workspace files with ripgrep to find pattern matches with file paths and line numbers. Use it to locate code, text, or references before editing.
Instructions
Search with ripgrep. Matches include workspace-relative paths and line numbers.
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 |
|---|---|---|---|
| path | No | . | |
| pattern | Yes | ||
| file_glob | No | ||
| max_matches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||