Get a Cronus UI component or block
get_componentFetch the full detail for a single Cronus UI component or block by name: its source file(s) (path + content), its npm dependencies, its registryDependencies (other registry items it needs), and the npx cronus-ui add <name> install command. Works for both components and blocks.
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_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The exact registry item name, e.g. 'button', 'data-table', or 'pricing'. |