find_usages
Locate every file that imports or auto-imports a Nuxt component or composable, including Lazy and kebab-case usage; omit the target to list unused components and composables.
Instructions
Find every file that uses a component or composable (explicit imports, Nuxt auto-imports, Lazy prefix, kebab-case templates). Omit target to list unused components and composables. Static analysis only — no DevServer or nuxi prepare.
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_usages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | No | Optional project root override (defaults to the server project path) | |
| target | No | Component name (UserCard), component file path, or composable name (useAuth). Omit to list unused components/composables. |