find_hot_paths
Find high-leverage optimization targets by combining code complexity with call frequency. Functions with high scores are called often and complex — prime optimization targets.
Instructions
Find high-leverage optimization targets by combining complexity and call frequency.
Returns functions ranked by hot_score = complexity * inbound_call_count. Functions with high scores are called often AND complex — prime optimization targets.
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_hot_paths"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top_n | No | max results to return (default 10) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |