get_block
Retrieve the source code for any shadcn/ui v4 block, such as calendar-01 or dashboard-01, to integrate ready-made UI components into your project.
Instructions
Get source code for a specific shadcn/ui v4 block (e.g., calendar-01, dashboard-01)
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": {
"blockName": "<blockName>"
},
"name": "get_block"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockName | Yes | Name of the block (e.g., "calendar-01", "dashboard-01", "login-02") | |
| includeComponents | No | Whether to include component files for complex blocks (default: true) |