scan_dead_code
Scan a Python repository to identify dead code and dependency issues without modifying files. Returns a human-readable report so you can fix problems safely.
Instructions
Scan a Python repository for real dead code (vulture) and dependency issues (deptry). Read-only — never modifies anything. Returns a human-readable list of findings, or "No real candidates found."
repo_path: path to the repository to scan (must contain a pyproject.toml for the dependency checks to run; dead-code scanning works regardless). min_confidence: vulture's own confidence threshold (0-100). Lower values surface more candidates but more false positives.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_path | No | . | |
| min_confidence | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |