find_hotspots
Rank functions by hotspot kind to reveal complexity, Java allocation, or Java performance risks. Use it to target refactoring where code is most costly or tangled.
Instructions
Rank functions by hotspot kind. complexity (all langs) | allocation (Java) | performance (Java).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_hotspots"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Hotspot category (default 'complexity'). | |
| project | No | Project name/path (default: active). | |
| min_score | No | Minimum score to include (default: 0 for complexity, 1 for Java kinds). | |
| max_results | No | Maximum number of functions to report (default: 20). |