cerebro_dead_symbols
Identify unused exported symbols in imported files to find symbol-level dead code undetectable by per-file analysis. Heuristic only; verify before deleting to avoid false positives from dynamic access.
Instructions
List unused-export candidates: functions/classes/methods whose name is referenced nowhere in the indexed code, inside files that ARE imported (the symbol-level dead code that cerebro_orphans, which works per-file, can't see). Heuristic — confirm before deleting: dynamic access (obj['x'], string-based DI) and reflection can make a used symbol look dead.
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": "cerebro_dead_symbols"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prefix | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |