Get install commands
get_install_commandReturns the shadcn CLI command to add one or more Ballmac UI items to your project, with setup steps for free and pro registry components.
Instructions
The shadcn CLI commands to add one or more items to the user's project. Run setup once if components.json has no @ballmac registry, then add. byUrl works without setup for free items. Pro items install as @ballmac-pro/ and need proSetup once.
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": {
"names": "<names>"
},
"name": "get_install_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| names | Yes | ||
| packageManager | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | Yes | ||
| byUrl | Yes | ||
| setup | Yes | ||
| proSetup | No |