Grep Files
sm_file_grep_filesSearch a file or directory for a specified text pattern, optionally recursively, to locate matching content in files and logs.
Instructions
Grep files (sm_file_operations). Operations for file and log management
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "sm_file_grep_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | No | Search pattern | |
| filepath | No | Path to file | |
| recursive | No | Recursive search |