[diagnostics]
Summarizes CPU sample hotspots from collected runtime.nettrace artifacts for a GliderTrace session.
Raw runtime artifacts are usually too large and noisy for direct prompt use.
The model can ask for compact exception, counter, hotspot, or code-correlation summaries with stable session ids.
Try it locally in the GliderTrace playground
| Name | Type | Required | Description |
|---|---|---|---|
| sessionId | string | Yes | Trace session id, for example trc_20260507_123044_ab12cd34. |
| text | string | No | Optional case-insensitive filter across frame, method, module, and source path. |
| limit | number | No | Maximum number of hotspot summaries to return. |
| includeRuntimeFrames | boolean | No | Include runtime/framework frames instead of preferring user-code frames. |
Summarize runtime hotspots
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trace_hotspots",
"arguments": {
"sessionId": "trc_20260507_123044_ab12cd34"
}
}
}Returns CPU hotspot frames, sample counts, modules, source hints, and artifact context.