find_unused_symbols
Find potentially unused types and members (dead code detection). Checks public symbols for references across the solution. Filters out test methods, MCP tools, source-generator output, MEF-composed services, and interop-laid-out fields. Returns an envelope with items, totalCount, truncated, limit (default 500), and a summary including byKind + filteredOut counts.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
project | string | Optional project name filter | |
includeInternal | bool | Include internal symbols (default: false) | |
limit | int? | Maximum number of items to return (default: 500). Items are sorted by project, then file. |