java_class_histogram
Generate a class histogram for a Java process to identify memory-holding classes. Specify a PID and optionally filter to live objects only.
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": {
"pid": "<pid>"
},
"name": "java_class_histogram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | ||
| live_only | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||