tracesHitList
Get a trace's hit list to see which calls consumed the most time. Optionally sort by gross time and cap the number of entries for focused analysis.
Instructions
The hit list of a trace: what was called how often and for how long - the fastest read of where the time went. The hit list of a single ADT call runs to megabytes, so the answer is capped: pass heaviestFirst for the expensive end of it.
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": {
"id": "<id>"
},
"name": "tracesHitList"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the trace, as tracesList reports it. | |
| limit | No | Cap on the entries reported, default 100. The total is always for everything found. | |
| heaviestFirst | No | Sort by gross time, longest first, before capping. Off by default, which keeps the order the backend sent. | |
| withSystemEvents | No | Whether to include system events. |