install_block
Install a shadcn/ui block with all its dependencies. Provide the block name, optionally force overwrite existing files, or set a custom working directory.
Instructions
Install a shadcn/ui block with all its dependencies
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": {
"name": "<name>"
},
"name": "install_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The name of the block to install | |
| force | No | Force overwrite existing files | |
| cwd | No | Working directory for the command |