List sampled threads
list_threadsLists sampled threads from a Spark profiler profile, sorted by total sampled time descending. Each entry includes thread name, time, and node count, enabling focused call-tree analysis.
Instructions
List the sampled threads (name, total sampled ms, node count), busiest first. Use a name with the call-tree tools.
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": {
"profileId": "<profileId>"
},
"name": "list_threads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| profileId | Yes | The id returned by load_profile. |