dead_find_unused_imports
Scan a project directory to detect imported modules and symbols that are never used. Remove unused imports to keep code clean and maintainable.
Instructions
Find imported modules and symbols that are never used in the file
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_imports"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| directory | Yes | Project directory to scan |