Get a Kodza component
get_componentRead-only
The full code of one Kodza component (HTML, CSS and, when it has one, vanilla JS), its API (CSS variables with defaults, modifier classes, data attributes, events), what each key does when it takes the keyboard, its dark-mode values and how to install it. Its CSS and JS are also served as exact files, listed with their curl download commands; inline: false leaves them out of the answer. target narrows the install notes to one stack.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The component slug, from search_components (e.g. "button-fill") | |
| inline | No | false: leave the CSS and JS out of the Code section (you download those files with the given commands). true by default, for assistants that cannot run commands | |
| target | No | Where it goes: html (a plain page), artifact (a Claude artifact on claude.ai), wordpress, shopify or react. All of them when omitted |