analyze_log
Analyze error logs to identify root causes and provide AI-powered insights for debugging server issues with contextual analysis.
Instructions
Analyze error logs and provide root cause analysis with AI-powered insights
Input Schema
Name | Required | Description | Default |
---|---|---|---|
contextLines | No | Number of context lines to include around errors | |
logFormat | No | Format of the log content | auto |
logText | Yes | Log content to analyze |
Input Schema (JSON Schema)
{
"properties": {
"contextLines": {
"default": 50,
"description": "Number of context lines to include around errors",
"type": "number"
},
"logFormat": {
"default": "auto",
"description": "Format of the log content",
"enum": [
"auto",
"json",
"plain"
],
"type": "string"
},
"logText": {
"description": "Log content to analyze",
"type": "string"
}
},
"required": [
"logText"
],
"type": "object"
}