ssh_grep
Search remote file content under a directory using extended regular expressions, with optional filename filters and bounded output—no remote helper installed.
Instructions
Search remote file content under a directory using the server's existing grep extended regular expressions. Optional include filters filenames. Output is bounded; no helper is installed remotely.
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": {
"hostId": "<hostId>",
"pattern": "<pattern>"
},
"name": "ssh_grep"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | ||
| limit | No | ||
| hostId | Yes | Required stable host ID returned by ssh_list_hosts. Names are not accepted. | |
| include | No | ||
| pattern | Yes | ||
| ignoreCase | No |