Get Thread Dump
get_thread_dumpCapture a thread dump from a JVM agent to diagnose deadlocks, thread contention, and thread activity, optionally including a heap histogram for memory analysis.
Instructions
Capture a thread dump from a specific JVM agent. Use for diagnosing deadlocks, thread contention, or understanding thread activity. Optionally includes heap histogram for memory analysis. Stack traces require HTTP mode; TCP mode returns thread states 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": {
"obj_hash": "<obj_hash>"
},
"name": "get_thread_dump"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| obj_hash | Yes | Target agent object hash (from get_system_overview) | |
| include_heap_histogram | No | Also fetch top heap consumers |