find_dead_code
Identify functions, classes, and methods with no callers anywhere in the repo, with built-in filters for test classes, dispatch dicts, and module-level names to cut false positives.
Instructions
List functions, classes, and methods that have no callers anywhere in the repo. Has built-in false-positive filters for test classes, dispatch dicts, and module-level convention names.
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": {
"repo_path": "<repo_path>"
},
"name": "find_dead_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| repo_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||