Install a Wisty UI item
get_install_commandGet the steps to install one Wisty UI item: the shadcn command, and the theme and icon steps it needs. First read style and tailwind.css from the project's components.json, and whether it has a src/ folder; a project without components.json runs npx shadcn@latest init first.
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": {
"name": "<name>",
"style": "<style>"
},
"name": "get_install_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The item's name, like "lookup". | |
| style | Yes | The "style" in the project's components.json, like "radix-nova" or "base-nova": it picks the Radix or Base UI version. | |
| srcDir | No | Whether the project has a src/ folder. Left out, a tailwindCss under src/ means yes. | |
| themed | No | True when the stylesheet already has Wisty UI's theme (--color-page in its @theme inline, or a tokens.css import), to leave the theme step out. | |
| tailwindCss | No | The "tailwind.css" path as components.json gives it, like "src/index.css", for the exact theme import lines. |