Get the install command and import for an AI Canvas icon
get_icon_installReturns the shadcn install command for one AI Canvas icon, producing an editable file with shared runtime plus exact import and JSX usage. Search icon names first.
Instructions
Return the shadcn command that installs one AI Canvas icon as an editable file (components/icons/.tsx plus the shared IconBase runtime), with the exact import and JSX to use it. Line is free with an account; Duotone, Solid and Solid duotone are Premium. Find names with search_icons 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>"
},
"name": "get_icon_install"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The icon name from search_icons, e.g. "search" or "arrow-up-right". | |
| style | No | Icon style. Default "line". |