grep_content
Search file contents using regex patterns. Filter by directory and file include patterns to locate specific lines of code or text.
Instructions
Search file contents using regex pattern.
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_content"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Directory to search in | |
| include | No | File pattern to include | |
| pattern | Yes | Regex pattern to search for |