get_component_demo
Retrieve demo code showing how a shadcn/ui v4 component should be used by passing its component name, helping developers learn correct usage.
Instructions
Get demo code illustrating how a shadcn/ui v4 component should be used
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": {
"componentName": "<componentName>"
},
"name": "get_component_demo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentName | Yes | Name of the shadcn/ui component (e.g., "accordion", "button") |