find_unused
Identifies functions, classes, and variables with no references across the project to help clean up dead code and refactor.
Instructions
Find dead code — functions, classes, and variables with no references across the project. Use for cleanup and refactoring.
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_unused"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | Filter by module path (e.g., "src/services/") | |
| export_only | No | Only check exported (capitalized) symbols | |
| limit | No | Max results (default: 30) |