parse_jfr_summary
Parses a .jfr file to produce a structured summary with top methods by CPU samples, GC statistics, thread allocation stats, and anomaly hints for quick performance overview.
Instructions
Parses a .jfr file and returns a structured summary: top methods by CPU samples, GC statistics, thread allocation stats, and anomaly hints (e.g. high GC count). Use for a quick high-level overview of the recording before diving into specific profiles.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "parse_jfr_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filepath | No | Path to .jfr file. Shortcuts: 'new_profile' (current, default) or 'old_profile' (previous). Or full path e.g. recordings/new_profile.jfr. | new_profile |
| events | No | Optional list of JFR event types to include. Default: jdk.ExecutionSample, jdk.GarbageCollection, jdk.JavaThreadStatistics, jdk.ThreadAllocationStatistics. | |
| topN | No | Maximum number of top methods to include in the summary. Default: 10. |