analyze_log_errors
Scan a remote log file for error patterns and get a concise summary of warnings, exceptions, and critical issues with counts and examples.
Instructions
Analyze a log file for error patterns and summarize findings.
Searches for ERROR, WARN, CRITICAL, Exception, and similar keywords.
Args: path: Absolute path to the log file. host_name: Named host from SSH_HOSTS config; uses default host if omitted.
Returns: Error/warning summary with counts and recent examples.
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": {
"path": "<path>"
},
"name": "analyze_log_errors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| host_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |