Get the AI Canvas install command for a component
get_install_commandReturns the exact shadcn CLI command to install a component, enabling direct installation when the project uses shadcn-aware setup; otherwise it falls back to manual component file writing.
Instructions
Return the shadcn CLI command to install a single component into the user's project. After calling this, suggest the user run the command (or run it yourself if you have shell access). Requires shadcn-aware setup (Tailwind v4, components.json) — for projects without that, fall back to get_component and write the file manually.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The component slug, e.g. "ai-job-cards". |