osnova_unreferenced
Identify unreferenced definitions by finding those with no external call or reference edges in non-test files, including counts of unresolved same-name call sites and test mentions.
Instructions
Unreferenced candidates: definitions with no resolved call or reference edge from outside their own body in a non-test file, sorted by file and line, each with the count of unresolved same-name call sites (leads that may reach it), test-file sites and identifier mentions in non-test files. Entry points (main, default exports, index.* files, package.json bin files, test files, constructors, Python dunders) are never listed; exported definitions are listed only with includeExported. Candidates only: no indexed caller is not proof of no caller.
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": "osnova_unreferenced"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Symbol kinds to examine (default function, method, class: the kinds the index records edges to; constants, types and interfaces receive no edges, so asking for them lists nearly all of them) | |
| limit | No | Maximum candidates (default 50); the omitted count is exact | |
| scope | No | Repo-relative path prefix to examine (default: whole index) | |
| includeExported | No | Also list exported definitions, which external consumers may reach (default false) |