find_dead_code
Detect unused Python imports, functions, and orphaned files in a project directory to eliminate dead code and improve maintainability.
Instructions
Detect unused Python imports, unused functions and orphaned files (e.g. files never imported or referenced).
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 |
|---|---|---|---|
| path | No | Python package or project directory. | . |