dead_find_unused_exports
Identify unused exports in your project by scanning for exported functions, classes, and constants that are never imported. Remove dead code to keep your codebase clean.
Instructions
Find exported functions, classes, and constants that are never imported anywhere
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": {
"directory": "<directory>"
},
"name": "dead_find_unused_exports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for Pro/Enterprise | |
| directory | Yes | Project directory to scan | |
| file_extensions | No | Comma-separated file extensions to scan | ts,tsx,js,jsx |