Get a Component
get_componentFetches a component's full usage details, required labels, classes, and example markup, including framework-specific syntax for React, Svelte, Vue, Astro, Rails, or Django.
Instructions
One component's full description, what it requires (its labels), its classes and example markup to copy. With a framework, also how to use it there, with the markup in that framework's form (JSX for React, braces escaped for Astro).
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": {
"id": "<id>"
},
"name": "get_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The component's id or name, from search_components, like "file-picker". | |
| version | No | The kit release the project pins, like "0.6.9", or a line, like "0.x", for its newest release. Leaving it out uses the newest release of any line. | |
| framework | No | React, Svelte, Vue, Astro, Rails or Django: the project's framework. |