get_root_cause_analysis
Performs full root cause analysis across Kubernetes logs and metrics, detects anomalies, correlates events, and exports an evidence-backed report for incident investigation.
Instructions
Full root cause analysis: fetches all data, detects anomalies, correlates events, and exports an evidence-backed report. This is the main analysis tool.
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": {
"namespace": "<namespace>"
},
"name": "get_root_cause_analysis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Analysis mode (default: both) | |
| namespace | Yes | Kubernetes namespace | |
| exportPath | No | File path for exported report (default: ./k8s-rca-report.md) | |
| exportFormat | No | Report format: md or txt (default: md) | |
| focusService | No | Optional service to focus on | |
| timeWindowMinutes | No | Time window in minutes (default: from config) |