find_dead_code
Find unused exports like components, hooks, and services in your codebase. Each result includes a reason why it appears unused, helping with systematic cleanup.
Instructions
Find dead code — exported components, hooks, services, and adapters that are never imported or used anywhere else in the codebase. Returns unused exports with reasons explaining why they appear unused. Useful for codebase cleanup.
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_dead_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layer | No | Optional: limit dead code search to a specific architecture layer |