lilbrain_complexity
Measure cyclomatic and cognitive complexity per function or rank top N functions to identify code hotspots.
Instructions
Cyclomatic + cognitive complexity analysis. Per-function detail or top-N ranking.
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": "lilbrain_complexity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | Number of results for ranking (default 20) | |
| name | No | Function name (omit for top-N ranking) |