analyze_gc_log
Analyze JVM GC logs to identify garbage collection patterns, pause times, allocation rates, and memory pressure. Supports G1, ZGC, Parallel, Serial, and Shenandoah GC algorithms.
Instructions
Parse a JVM GC log and analyze garbage collection patterns, pause times, allocation rates, and memory pressure. Supports G1, ZGC, Parallel, Serial, and Shenandoah GC formats.
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": {
"gc_log": "<gc_log>"
},
"name": "analyze_gc_log"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gc_log | Yes | The GC log text (from -Xlog:gc* or -verbose:gc) |