find_dead_code
Scans your repo for symbols that are defined but never used, helping eliminate dead code and streamline your codebase.
Instructions
Find symbols that are defined but never referenced elsewhere in the repo.
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_dead_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | optional — if given, only check this file. Otherwise scans entire repo. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |