Get an AnimatedWebs UI component
get_componentReturns one AnimatedWebs UI library component by id: description, runtime, interaction, tags, every variant with live URL and thumbnail, import name, shadcn install command, and with include_source true its complete source code (Pro). Use it after search_catalog (kind components) to inspect a component and then add it to a project; use generate_component instead when nothing in the library fits. Details never spend a credit. include_source needs AnimatedWebs Pro (others get an error with the pricing link) and returns code: the renderer and shared files with a per-account watermark, filling about 120,000 characters; files that did not fit have no code and are named in code.omitted, so call again with that path to get one file. New components count toward a fair-use cap (40 per 10 minutes, 150 a day, 500 a week, shared with get_background) that never blocks one already opened today. Unknown ids return an error. Example: {"id":"aurora-hero","include_source":true}.
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 | Component id exactly as returned by search_catalog (kind components), e.g. 'aurora-hero'. | |
| path | No | One file path from code.files or code.omitted of an earlier call for the same id; returns only that file in code.files. Implies include_source. | |
| include_source | No | true adds code with the source files (Pro only). Default false: public details only. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| code | No | Only with include_source or path | |
| tags | Yes | ||
| title | Yes | ||
| source | Yes | pro: full source available with AnimatedWebs Pro; none: no source bundle | |
| install | Yes | ||
| license | Yes | ||
| runtime | Yes | ||
| category | Yes | ||
| variants | Yes | ||
| thumbnail | Yes | ||
| importName | Yes | ||
| description | Yes | ||
| interaction | Yes | ||
| shadcnSetup | Yes | ||
| shadcnInstall | Yes |