scan_components
Extracts component names, variants, and import paths from your local shadcn/ui, radix, antd, or mui library. Use it to map Figma designs to your actual component contracts.
Instructions
Auto-scan the project's local component library (shadcn/ui / radix / antd / mui) and extract component names, CVA variant definitions, and import paths.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectRoot": "<projectRoot>"
},
"name": "scan_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectRoot | Yes | Absolute path to the project root |