Find orphans
graph_orphansIdentify dead code and stale docs by finding files with no inbound imports or links, plus symbols that are never exported; optionally include test and entry files.
Instructions
Operator 4 (minus) applied: files with no inbound imports/links (dead code, stale docs) and symbols that are never exported (dead-code candidates). Test and entry files are excluded unless asked for.
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": "graph_orphans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| includeTests | No | Include *.test.ts / *.spec.ts files. | |
| includeEntries | No | Include index/main/cli entry files. |