install_component
Install shadcn/ui components using the CLI, with options for force overwrite and specifying the working directory.
Instructions
Install one or more shadcn/ui components using the CLI
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": {
"components": "<components>"
},
"name": "install_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| components | Yes | Array of component names to install | |
| force | No | Force overwrite existing files | |
| cwd | No | Working directory for the command |