find_orphans
Identify dead-code candidates by scanning exported files, components, and functions that nothing imports, renders, or calls. Excludes entry points unless includeEntryPoints is set.
Instructions
Dead-code candidates: exported files/components/functions that nothing imports, renders, or calls. Excludes entry points (index/main/App/config) unless includeEntryPoints is set. Heuristic — review, do not auto-delete.
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_orphans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Repo root (defaults to cwd) | |
| includeEntryPoints | No | Also include index/main/App/config files (default false) |