Search Async Logs
grep-resultSearch async SSH command output for matching patterns in stdout/stderr logs, with options to limit matches and include context lines for efficient debugging.
Instructions
Search async stdout/stderr logs by 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": {
"session_id": "<session_id>",
"pattern": "<pattern>"
},
"name": "grep-result"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pattern | Yes | ||
| maxMatches | No | ||
| session_id | Yes | ||
| contextLines | No |