grep
Search UTF-8 files using Python regular expressions and return matching lines while skipping binary, oversized, and unreadable files.
Instructions
Search UTF-8 files with a Python regular expression. Returns matching lines; skips binary, oversized, and unreadable 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"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glob | No | ||
| path | No | ||
| limit | No | ||
| pattern | Yes | ||
| ignore_case | No |