get_registry_item
Retrieve a shadcn registry item from your workspace by name. Get its files, targets, dependencies, CSS variables, and Atomic Design metadata in one response.
Instructions
Return one shadcn registry-item.json-compatible item from the workspace.
Returns: files, targets, dependencies, cssVars, and Atomic Design metadata. Errors: isError if the item is unknown (discover names via get_shadcn_registry).
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": "get_registry_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Component spec name or shadcn item slug, e.g. Button or button. | |
| homepage | No | Public homepage used to generate item URL and Open-in-v0 metadata. |