Get a component
get_componentEverything needed to use one item: description, interaction, props with types and defaults, parts, a usage example, dependencies, the install command, and the source files (free items, or Pro items with a Pro API key).
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": {
"slug": "<slug>"
},
"name": "get_component"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | Item slug, e.g. "otp-input" (from search_components) | |
| includeSource | No | Include the source files when available | |
| includeExamples | No | Include the titles of the documented examples |